summaryrefslogtreecommitdiffstats
path: root/src/basic/strv.h
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-02-20 12:17:10 +0100
committerLuca Boccassi <bluca@debian.org>2022-05-21 16:11:13 +0200
commit7b19627697b48a0660b1667fcd4597f32eb14b6a (patch)
treea894fe472b3b1cedac4a646201a155e85b351e5a /src/basic/strv.h
parentboot: Use cleanup handler to unload image (diff)
downloadsystemd-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.h6
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); \