added the strcasecmp() proto here (moved from setup.h), as this is the
only file within libcurl to use that function
This commit is contained in:
@@ -26,6 +26,12 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
#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)
|
int curl_strequal(const char *first, const char *second)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_STRCASECMP)
|
#if defined(HAVE_STRCASECMP)
|
||||||
|
Reference in New Issue
Block a user