aboutsummaryrefslogtreecommitdiffstats
path: root/include/stringop.h
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2015-09-18 07:23:04 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2015-09-18 07:23:04 -0700
commit0d51f62224a3c2e65894f1725076a588b172447c (patch)
tree35529e2a7888e4d3af0997371efd1da5bbf2ad15 /include/stringop.h
parentminor fix (diff)
parentFix warnings introduced by prior commit (diff)
downloadsway-0d51f62224a3c2e65894f1725076a588b172447c.tar.gz
sway-0d51f62224a3c2e65894f1725076a588b172447c.tar.zst
sway-0d51f62224a3c2e65894f1725076a588b172447c.zip
merge + no c_extensions
Diffstat (limited to 'include/stringop.h')
-rw-r--r--include/stringop.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/stringop.h b/include/stringop.h
index dc81cdae..49bfa771 100644
--- a/include/stringop.h
+++ b/include/stringop.h
@@ -2,8 +2,13 @@
2#define _SWAY_STRINGOP_H 2#define _SWAY_STRINGOP_H
3#include "list.h" 3#include "list.h"
4 4
5#if !HAVE_DECL_SETENV
6// Not sure why we need to provide this
7extern int setenv(const char *, const char *, int);
8#endif
9
5// array of whitespace characters to use for delims 10// array of whitespace characters to use for delims
6extern const char *whitespace; 11extern const char whitespace[];
7 12
8char *strip_whitespace(char *str); 13char *strip_whitespace(char *str);
9char *strip_comments(char *str); 14char *strip_comments(char *str);