From: Daniel Stenberg Date: Sun, 24 Aug 2003 14:29:06 +0000 (+0000) Subject: added the strcasecmp() proto here (moved from setup.h), as this is the X-Git-Tag: curl-7_10_8~260 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32899f8309211e2141937d24b754480a9df10951;p=curl added the strcasecmp() proto here (moved from setup.h), as this is the only file within libcurl to use that function --- diff --git a/lib/strequal.c b/lib/strequal.c index 04e0c9788..780a99801 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -26,6 +26,12 @@ #include #include +#ifdef HAVE_STRCASECMP +/* this is for "-ansi -Wall -pedantic" to stop complaining! */ +extern int (strcasecmp)(const char *s1, const char *s2); +extern int (strncasecmp)(const char *s1, const char *s2, size_t n); +#endif + int curl_strequal(const char *first, const char *second) { #if defined(HAVE_STRCASECMP)