From 007fb8a20056b14f651f2d5223c100a61ff2e80a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 6 May 2000 15:45:30 +0000 Subject: [PATCH] Undefine __strnlen and strnlen. [!weak_alias]: Define __strnlen to strnlen. --- lib/strnlen.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/strnlen.c b/lib/strnlen.c index a2fcf73d7..89f818526 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. */ -- 2.11.0