summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-27 22:44:50 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-05 18:54:27 -0400
commitbc8ec170d2bc3e294f24ff8bb255436a685ac14a (patch)
tree8d12de9cbc0f34210e13eb645840cf3cf8906209 /src/basic
parentceed8f0c8b9a46300eccd1afa2dd8d3c2cb6b47c (diff)
downloadsystemd-bc8ec170d2bc3e294f24ff8bb255436a685ac14a.tar.gz
systemd-bc8ec170d2bc3e294f24ff8bb255436a685ac14a.tar.bz2
systemd-bc8ec170d2bc3e294f24ff8bb255436a685ac14a.zip
Drop FOREACH_WORD_QUOTED
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/string-util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/basic/string-util.h b/src/basic/string-util.h
index 0175803302..e99f7964be 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -107,9 +107,6 @@ const char* split(const char **state, size_t *l, const char *separator, bool quo
#define FOREACH_WORD_SEPARATOR(word, length, s, separator, state) \
_FOREACH_WORD(word, length, s, separator, false, state)
-#define FOREACH_WORD_QUOTED(word, length, s, state) \
- _FOREACH_WORD(word, length, s, WHITESPACE, true, state)
-
#define _FOREACH_WORD(word, length, s, separator, quoted, state) \
for ((state) = (s), (word) = split(&(state), &(length), (separator), (quoted)); (word); (word) = split(&(state), &(length), (separator), (quoted)))