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/strnlen.c | |
parent | 2be39af412edc53d4ef09097949550697c270173 (diff) | |
download | coreutils-dce9582d2ca06a6c50165014b21d95654541e8da.tar.xz |
Update from gnulib.
Diffstat (limited to 'lib/strnlen.c')
-rw-r--r-- | lib/strnlen.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/strnlen.c b/lib/strnlen.c index 617b0aa18..c9f389845 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -21,21 +21,7 @@ #endif #undef strnlen -#if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H -# include <memory.h> -# endif -# include <string.h> -#else -# include <strings.h> -#endif - -#ifndef HAVE_DECL_MEMCHR -"this configure-time declaration test was not run" -#endif -#if !HAVE_DECL_MEMCHR -char *memchr (); -#endif +#include <string.h> #undef __strnlen #undef strnlen |