summaryrefslogtreecommitdiff
path: root/lib/strcasestr.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-01-27 13:17:15 +0000
committerBruno Haible <bruno@clisp.org>2007-01-27 13:17:15 +0000
commitc16199ce77b7fe5aee147446944e9ea27b431caa (patch)
treef8763f954e9d17a0f4eea34ecdd4d078dadbaad3 /lib/strcasestr.c
parent5b8ccb52403820a66953748fcc7b53986c8f0058 (diff)
downloadgnulib-c16199ce77b7fe5aee147446944e9ea27b431caa.tar.gz
Declare strcasestr() in the <string.h> replacement, rather than in
strcasestr.h.
Diffstat (limited to 'lib/strcasestr.c')
-rw-r--r--lib/strcasestr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strcasestr.c b/lib/strcasestr.c
index 6812b5de88..0a25f86f6b 100644
--- a/lib/strcasestr.c
+++ b/lib/strcasestr.c
@@ -1,5 +1,5 @@
/* Case-insensitive searching in a string.
- Copyright (C) 2005-2006 Free Software Foundation, Inc.
+ Copyright (C) 2005-2007 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2005.
This program is free software; you can redistribute it and/or modify
@@ -19,10 +19,10 @@
#include <config.h>
/* Specification. */
-#include "strcasestr.h"
+#include <string.h>
#include <ctype.h>
-#include <stddef.h> /* for NULL */
+#include <stddef.h> /* for NULL, in case a nonstandard string.h lacks it */
#if HAVE_MBRTOWC
# include "mbuiter.h"