diff options
author | Jan Janssen <medhefgo@web.de> | 2022-02-20 12:17:10 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2022-05-21 16:11:13 +0200 |
commit | 7b19627697b48a0660b1667fcd4597f32eb14b6a (patch) | |
tree | a894fe472b3b1cedac4a646201a155e85b351e5a /src/basic/strv.h | |
parent | boot: Use cleanup handler to unload image (diff) | |
download | systemd-7b19627697b48a0660b1667fcd4597f32eb14b6a.tar.xz systemd-7b19627697b48a0660b1667fcd4597f32eb14b6a.zip |
fundamental: Move some helpers into string-util-fundamental
Diffstat (limited to 'src/basic/strv.h')
-rw-r--r-- | src/basic/strv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/basic/strv.h b/src/basic/strv.h index c567785cdb..072739df35 100644 --- a/src/basic/strv.h +++ b/src/basic/strv.h @@ -140,12 +140,6 @@ static inline int strv_from_nulstr(char ***a, const char *nulstr) { bool strv_overlap(char * const *a, char * const *b) _pure_; -#define _STRV_FOREACH(s, l, i) \ - for (typeof(*(l)) *s, *i = (l); (s = i) && *i; i++) - -#define STRV_FOREACH(s, l) \ - _STRV_FOREACH(s, l, UNIQ_T(i, UNIQ)) - #define _STRV_FOREACH_BACKWARDS(s, l, h, i) \ for (typeof(*(l)) *s, *h = (l), *i = ({ \ size_t _len = strv_length(h); \ |