aboutsummaryrefslogtreecommitdiffstats
path: root/include/stringop.h
diff options
context:
space:
mode:
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);