mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
Drop FOREACH_WORD_QUOTED
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user