diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-12-09 11:52:55 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2019-01-01 09:01:24 +0000 |
commit | 967566e37f93890bd5255725129c929aeeac709e (patch) | |
tree | 7d6bc1470609b2c0da92889db36833cc2e5e8431 /include/stringop.h | |
parent | bash: add completion for swaybar (diff) | |
download | sway-967566e37f93890bd5255725129c929aeeac709e.tar.gz sway-967566e37f93890bd5255725129c929aeeac709e.tar.zst sway-967566e37f93890bd5255725129c929aeeac709e.zip |
stringop.c: rewrite strip_whitespace
Diffstat (limited to 'include/stringop.h')
-rw-r--r-- | include/stringop.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/stringop.h b/include/stringop.h index d1bfa29d..f7ca60a5 100644 --- a/include/stringop.h +++ b/include/stringop.h | |||
@@ -3,10 +3,7 @@ | |||
3 | 3 | ||
4 | #include "list.h" | 4 | #include "list.h" |
5 | 5 | ||
6 | // array of whitespace characters to use for delims | 6 | void strip_whitespace(char *str); |
7 | extern const char whitespace[]; | ||
8 | |||
9 | char *strip_whitespace(char *str); | ||
10 | char *strip_comments(char *str); | 7 | char *strip_comments(char *str); |
11 | void strip_quotes(char *str); | 8 | void strip_quotes(char *str); |
12 | 9 | ||