aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.c3
-rw-r--r--support.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index 1ea1fd971..12fc15a61 100644
--- a/conf.c
+++ b/conf.c
@@ -35,9 +35,6 @@
#define CONF_COLOR_ALERT "alert_color"
-#define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n')
-
-
static int
str2bool(char *str)
{
diff --git a/support.h b/support.h
index fc0e20559..b82751dd1 100644
--- a/support.h
+++ b/support.h
@@ -19,6 +19,9 @@ char *basename(char *path);
char *strcasestr(const char *haystack, const char *needle);
#endif
+#define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n')
+
+char *trim(char *str);
char *remove_trailing_slash(char *path);
char *lowerstr(char *str);
@@ -26,5 +29,6 @@ char *lowerstr(char *str);
int charset_init(void);
int charset_close(void);
char *utf8_to_locale(char *str);
+char *locale_to_utf8(char *str);