From dce9582d2ca06a6c50165014b21d95654541e8da Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Sep 2003 22:01:20 +0000 Subject: Update from gnulib. --- lib/strcspn.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'lib/strcspn.c') diff --git a/lib/strcspn.c b/lib/strcspn.c index 2bbd90664..33a662852 100644 --- a/lib/strcspn.c +++ b/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 -- cgit v1.2.3-54-g00ecf