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:
Родитель
dc7c6d1030
Коммит
32899f8309
|
@ -26,6 +26,12 @@
|
|||
#include <string.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)
|
||||
{
|
||||
#if defined(HAVE_STRCASECMP)
|
||||
|
|
Загрузка…
Ссылка в новой задаче