diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:22:44 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:22:44 +0000 |
| commit | 9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61 (patch) | |
| tree | fb0ac2208e1a080dfae3f2ca5f1f90f568bf4165 /libc/inet/ntop.c | |
| parent | 6e3c1938ff129fb5385a963ec600111aa6228bdc (diff) | |
| download | uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.bz2 uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.xz | |
Merge from trunk.
Diffstat (limited to 'libc/inet/ntop.c')
| -rw-r--r-- | libc/inet/ntop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c index 91fa2b899..6f3a8ccec 100644 --- a/libc/inet/ntop.c +++ b/libc/inet/ntop.c @@ -246,10 +246,10 @@ inet_pton4(const char *src, u_char *dst) /* We cannot use the macro version of tolower() or very bad * things happen when '*src++' gets evaluated multiple times. - * So * undef it here so we get the function version of tolower + * So undef it here so we get the function version of tolower * instead. */ -#undef tolower +#undef __tolower static int inet_pton6(const char *src, u_char *dst) @@ -271,7 +271,7 @@ inet_pton6(const char *src, u_char *dst) curtok = src; saw_xdigit = 0; val = 0; - while ((ch = tolower (*src++)) != '\0') { + while ((ch = __tolower (*src++)) != '\0') { const char *pch; pch = __strchr(xdigits, ch); |
