aboutsummaryrefslogtreecommitdiffstats
path: root/include/stringop.h
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-12-09 11:52:55 +0000
committerLibravatar Ian Fan <ianfan0@gmail.com>2019-01-01 09:01:24 +0000
commit967566e37f93890bd5255725129c929aeeac709e (patch)
tree7d6bc1470609b2c0da92889db36833cc2e5e8431 /include/stringop.h
parentbash: add completion for swaybar (diff)
downloadsway-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.h5
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 6void strip_whitespace(char *str);
7extern const char whitespace[];
8
9char *strip_whitespace(char *str);
10char *strip_comments(char *str); 7char *strip_comments(char *str);
11void strip_quotes(char *str); 8void strip_quotes(char *str);
12 9