diff options
author | Bruno Haible <bruno@clisp.org> | 2003-09-10 14:07:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-09-10 14:07:55 +0000 |
commit | 57a1c06115f3e74f70b18301b66b15ad34ecafcf (patch) | |
tree | 0705f3f96347cd16a57c8e0036a6355135138a4d /lib/strcspn.c | |
parent | cd943b466a8a7cba98e63b1cf6ac5c42db0800c0 (diff) | |
download | gnulib-57a1c06115f3e74f70b18301b66b15ad34ecafcf.tar.gz |
Assume ANSI C.
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 2bbd906643..33a6628527 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 |