Skip to content
Snippets Groups Projects
Commit 4272af80 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Only define the string prototypes in ANSI mode to reduce interference on

systems that prototype them slightly differently.
parent 0b633027
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
#include "strequal.h"
#ifdef HAVE_STRCASECMP
#if defined(HAVE_STRCASECMP) && defined(__STRICT_ANSI__)
/* 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment