From: Bruno Haible Date: Wed, 12 Jan 2005 13:08:57 +0000 (+0000) Subject: Update 'strcspn' module from gnulib. X-Git-Tag: v0.14.2~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0ddae4586c84b68c28e868773fc356e2f63c60;p=thirdparty%2Fgettext.git Update 'strcspn' module from gnulib. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index f717a61a8..a1a9e2fc8 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,7 @@ +2005-01-06 Bruno Haible + + * strcspn.c: Update from gnulib. + 2005-01-06 Bruno Haible * strcasecmp.c: Update from gnulib. diff --git a/gettext-tools/lib/strcspn.c b/gettext-tools/lib/strcspn.c index 2bbd90664..33a662852 100644 --- a/gettext-tools/lib/strcspn.c +++ b/gettext-tools/lib/strcspn.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994, 1996-1997, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1996-1997, 2002-2003 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. @@ -23,15 +23,7 @@ #endif #include - -#if defined _LIBC || HAVE_STRING_H -# include -#else -# include -# ifndef strchr -# define strchr index -# endif -#endif +#include #undef strcspn