diff options
author | Didier Raboud <odyx@debian.org> | 2011-01-27 15:45:50 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2011-01-27 15:45:50 +0100 |
commit | d1cf03383a481675a2458d6ffc95bca7f495eff8 (patch) | |
tree | 8031752b202ad5a1b26e6560361fc5a12be8b280 /util.h | |
parent | 1a03de334fd4e6aafb91b806ea35092a7774a8d7 (diff) |
Imported Upstream version 4.0.6
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 */ |