From: Jim Meyering Date: Sun, 1 Dec 2002 10:42:12 +0000 (+0000) Subject: Update from gnulib (trivial changes). X-Git-Tag: v4.5.4~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19811164825afcd71f4aeb02a063ebfae322a8c;p=thirdparty%2Fcoreutils.git Update from gnulib (trivial changes). --- diff --git a/lib/strpbrk.c b/lib/strpbrk.c index 6a6a321cdf..84e4a02732 100644 --- a/lib/strpbrk.c +++ b/lib/strpbrk.c @@ -20,6 +20,14 @@ # include #endif +#include + +#if defined _LIBC || HAVE_STRING_H +# include +#endif + +#undef strpbrk + /* Find the first occurrence in S of any character in ACCEPT. */ char * strpbrk (const char *s, const char *accept) @@ -33,5 +41,5 @@ strpbrk (const char *s, const char *accept) ++s; } - return 0; + return NULL; }