X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrcspn.c;h=33a6628527780306d3e1e07eeca2e5abdc5c6ef8;hb=9db47123ce74651bda88707c3f67441622aae399;hp=2bbd906643b128c5cf69e1ef3d8e57a6278b4532;hpb=b51fcc0b038ac4d720d7d34ad98d78a14824e444;p=gnulib.git 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