From: Jim Meyering Date: Sat, 6 May 2000 15:45:30 +0000 (+0000) Subject: Undefine __strnlen and strnlen. X-Git-Tag: SH-UTILS-2_0h~30 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a83332dcd20d57e4fae5b655f396ad1215b64f58;p=thirdparty%2Fcoreutils.git Undefine __strnlen and strnlen. [!weak_alias]: Define __strnlen to strnlen. --- diff --git a/lib/strnlen.c b/lib/strnlen.c index a2fcf73d79..89f8185267 100644 --- a/lib/strnlen.c +++ b/lib/strnlen.c @@ -19,6 +19,13 @@ #include +#undef __strnlen +#undef strnlen + +#ifndef weak_alias +# define __strnlen strnlen +#endif + /* Find the length of STRING, but scan at most MAXLEN characters. If no '\0' terminator is found in that many characters, return MAXLEN. */