summaryrefslogtreecommitdiff
path: root/src/basic/string-util.h
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-11-08 09:41:51 +0100
committerGitHub <noreply@github.com>2016-11-08 09:41:51 +0100
commitca91fd2acac007f0096fea47b2cc8931baa3af57 (patch)
tree4da5222881a4b3ec7e3b55dfa18fb8b7f764daa7 /src/basic/string-util.h
parented7fd549d0a1bfebe4e17a3f0e92879eb986d4a9 (diff)
parentbc8ec170d2bc3e294f24ff8bb255436a685ac14a (diff)
Merge pull request #4509 from keszybz/foreach-word-quoted
Remove 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 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)))