projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(mempcpy): Don't define if a system header defines it.
[gnulib.git]
/
lib
/
strcspn.c
diff --git
a/lib/strcspn.c
b/lib/strcspn.c
index
2bbd906
..
33a6628
100644
(file)
--- 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.
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>
#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
#undef strcspn