diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -28,6 +28,7 @@ #define _GNU_SOURCE #endif +#include "config.h" #include <string.h> #include <stdio.h> @@ -57,6 +58,12 @@ int omit_unprintables(int c); int omit_shellescapes(int c); int omit_specialchars(int c); int omit_whitespace(int c); +int omit_whitespace_newline(int c); + +#ifndef HAVE_STRCASESTR +/* strcasestr() is not available under Solaris */ +char * strcasestr (const char *haystack, const char *needle); +#endif /* TODO check for platforms which already have strlcpy and strlcat */ |