diff options
author | Bruno Haible <bruno@clisp.org> | 2007-01-27 13:17:15 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-01-27 13:17:15 +0000 |
commit | c16199ce77b7fe5aee147446944e9ea27b431caa (patch) | |
tree | f8763f954e9d17a0f4eea34ecdd4d078dadbaad3 /lib/strcasestr.c | |
parent | 5b8ccb52403820a66953748fcc7b53986c8f0058 (diff) | |
download | gnulib-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.c | 6 |
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" |