Mercurial > hg > octave-nkf > gnulib-hg
changeset 2503:706ec239572c
Undefine __strnlen and strnlen.
[!weak_alias]: Define __strnlen to strnlen.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 06 May 2000 15:45:30 +0000 |
parents | aca3d7af77b3 |
children | e8ce49438942 |
files | lib/strnlen.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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. */