diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-13 22:01:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-13 22:01:20 +0000 |
commit | dce9582d2ca06a6c50165014b21d95654541e8da (patch) | |
tree | a44364d0664dbc9f44ba1ed449b6e1fe9c1a7808 /lib/strcspn.c | |
parent | 2be39af412edc53d4ef09097949550697c270173 (diff) | |
download | coreutils-dce9582d2ca06a6c50165014b21d95654541e8da.tar.xz |
Update from gnulib.
Diffstat (limited to 'lib/strcspn.c')
-rw-r--r-- | lib/strcspn.c | 12 |
1 files changed, 2 insertions, 10 deletions
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 <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 |