X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrnlen.c;h=c9f389845117d39c4d726a0920b99abcca178cd2;hb=79fedf129cbfc69a04861c64e58ddff9f05d47e1;hp=617b0aa18e8e7c05c910ff1d9a8cd90946298ab6;hpb=4589d52c7c039b9d9c9d7bec075f00c9d57ee6e1;p=gnulib.git 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 -# endif -# include -#else -# include -#endif - -#ifndef HAVE_DECL_MEMCHR -"this configure-time declaration test was not run" -#endif -#if !HAVE_DECL_MEMCHR -char *memchr (); -#endif +#include #undef __strnlen #undef strnlen