From 32899f8309211e2141937d24b754480a9df10951 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 24 Aug 2003 14:29:06 +0000 Subject: [PATCH] added the strcasecmp() proto here (moved from setup.h), as this is the only file within libcurl to use that function --- lib/strequal.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/strequal.c b/lib/strequal.c index 04e0c97..780a998 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) -- 2.7.4