diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-06 15:45:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-06 15:45:30 +0000 |
commit | a83332dcd20d57e4fae5b655f396ad1215b64f58 (patch) | |
tree | 94c8e8d8c3b1b87d749c3ba9ae1e4b83fe88cf88 /lib | |
parent | 20d55109b5719c3db4aa3510063baa716d35fe92 (diff) | |
download | coreutils-a83332dcd20d57e4fae5b655f396ad1215b64f58.tar.xz |
Undefine __strnlen and strnlen.
[!weak_alias]: Define __strnlen to strnlen.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strnlen.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <string.h> +#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. */ |