summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-27 22:44:50 -0400
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:34 +0200
commit5091db1fa99acdbc3d9acb485c1c70d8bfb636db (patch)
tree895fd291405e7ad31a6d749ebdd379e13b573105 /src/basic/string-util.h
parent2e8aab4452a1450b414e9a61e429aa3d07bfe235 (diff)
Drop FOREACH_WORD_QUOTED
Diffstat (limited to 'src/basic/string-util.h')
-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 4b5cb8c70..668b63907 100644
--- a/src/basic/string-util.h
+++ b/src/basic/string-util.h
@@ -111,9 +111,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)))