]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update 'strcspn' module from gnulib.
authorBruno Haible <bruno@clisp.org>
Wed, 12 Jan 2005 13:08:57 +0000 (13:08 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:02 +0000 (12:12 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/strcspn.c

index f717a61a8b4bb96046475c87691e0c56ce8c4d65..a1a9e2fc8ae84457b6b053b4d370e47c8df59457 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-06  Bruno Haible  <bruno@clisp.org>
+
+       * strcspn.c: Update from gnulib.
+
 2005-01-06  Bruno Haible  <bruno@clisp.org>
 
        * strcasecmp.c: Update from gnulib.
index 2bbd906643b128c5cf69e1ef3d8e57a6278b4532..33a6628527780306d3e1e07eeca2e5abdc5c6ef8 100644 (file)
@@ -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.
 #endif
 
 #include <stddef.h>
-
-#if defined _LIBC || HAVE_STRING_H
-# include <string.h>
-#else
-# include <strings.h>
-# ifndef strchr
-#  define strchr index
-# endif
-#endif
+#include <string.h>
 
 #undef strcspn