Mercurial > hg > octave-kai > gnulib-hg
diff lib/strcasestr.c @ 7980:89b6dfd07076
Declare strcasestr() in the <string.h> replacement, rather than in
strcasestr.h.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 27 Jan 2007 13:17:15 +0000 |
parents | 1c4ed7637c24 |
children | cc3f4a2db5b0 |
line wrap: on
line diff
--- 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"