Mercurial > hg > octave-nkf > gnulib-hg
diff lib/strstr.h @ 6057:a878a8d58823
Make strstr() work in multibyte locales.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 17 Aug 2005 14:05:33 +0000 |
parents | a48fb0e98c8c |
children | 8938a14f38c1 |
line wrap: on
line diff
--- a/lib/strstr.h +++ b/lib/strstr.h @@ -1,5 +1,5 @@ /* Searching in a string. - Copyright (C) 2001-2003 Free Software Foundation, Inc. + Copyright (C) 2001-2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,13 +15,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if HAVE_STRSTR - -/* Get strstr() declaration. */ -#include <string.h> - -#else - #ifdef __cplusplus extern "C" { #endif @@ -32,5 +25,3 @@ #ifdef __cplusplus } #endif - -#endif