diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-07-07 07:27:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-07-07 07:27:44 +0000 |
commit | 41fd2375c869daed4c5c90ee3ce902019ef70d57 (patch) | |
tree | 8c27de61518b0790928cf9bb944f5899306235b7 /libc/inet/ntop.c | |
parent | 45f1824dc839fb6401cd6e061924a604438b2bed (diff) |
Cleanup namespace leaks by prepending __ to global stuff to
indicate it is (alledgedly) private.
-Erik
Diffstat (limited to 'libc/inet/ntop.c')
-rw-r--r-- | libc/inet/ntop.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c index 144e790b1..b7e831d49 100644 --- a/libc/inet/ntop.c +++ b/libc/inet/ntop.c @@ -54,10 +54,7 @@ * Paul Vixie, 1996. */ static const char * -inet_ntop4(src, dst, size) - const u_char *src; - char *dst; - size_t size; +inet_ntop4(const u_char *src, char *dst, size_t size) { char tmp[sizeof ("255.255.255.255") + 1] = "\0"; int octet; @@ -202,9 +199,7 @@ inet_ntop6(src, dst, size) * Paul Vixie, 1996. */ static int -inet_pton4(src, dst) - const char *src; - u_char *dst; +inet_pton4(const char *src, u_char *dst) { int saw_digit, octets, ch; u_char tmp[4], *tp; |