summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcasecmp.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-30 15:40:01 +0000
committerrobert <robert@FreeBSD.org>2002-08-30 15:40:01 +0000
commit3d9398c00e1ecd3146b989382ba55bba450f6b60 (patch)
treed27cfd2700229a42d77e9300869793928f4d92b9 /lib/libc/string/strcasecmp.c
parentfef65bd375893e5a42dba398102f13dad20ace02 (diff)
downloadFreeBSD-src-3d9398c00e1ecd3146b989382ba55bba450f6b60.zip
FreeBSD-src-3d9398c00e1ecd3146b989382ba55bba450f6b60.tar.gz
- Update strcasecmp(3)/strncasecmp(3) to reflect the fact that
the prototypes for both functions are now in the <strings.h> header, as required by IEEE Std 1003.1-2001. - Add one sentence about that in the HISTORY section. - Include <strings.h> in the source file to have the prototypes in scope when the _ANSI_SOURCE macro is defined.
Diffstat (limited to 'lib/libc/string/strcasecmp.c')
-rw-r--r--lib/libc/string/strcasecmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/strcasecmp.c b/lib/libc/string/strcasecmp.c
index 830b8a5..cb031ce 100644
--- a/lib/libc/string/strcasecmp.c
+++ b/lib/libc/string/strcasecmp.c
@@ -37,7 +37,7 @@ static char sccsid[] = "@(#)strcasecmp.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <string.h>
+#include <strings.h>
#include <ctype.h>
typedef unsigned char u_char;
OpenPOWER on IntegriCloud