1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

util: remove unused FOREACH_WORD_SEPARATOR_QUOTED

This commit is contained in:
Lennart Poettering 2014-08-19 16:46:43 +02:00
parent 22f21c0f3b
commit 60e6abf16b

View File

@ -248,9 +248,6 @@ const char* split(const char **state, size_t *l, const char *separator, bool quo
#define FOREACH_WORD_QUOTED(word, length, s, state) \ #define FOREACH_WORD_QUOTED(word, length, s, state) \
_FOREACH_WORD(word, length, s, WHITESPACE, true, state) _FOREACH_WORD(word, length, s, WHITESPACE, true, state)
#define FOREACH_WORD_SEPARATOR_QUOTED(word, length, s, separator, state) \
_FOREACH_WORD(word, length, s, separator, true, state)
#define _FOREACH_WORD(word, length, s, separator, quoted, 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))) for ((state) = (s), (word) = split(&(state), &(length), (separator), (quoted)); (word); (word) = split(&(state), &(length), (separator), (quoted)))