diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-09 19:21:56 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-09 19:21:56 +0200 |
commit | 525c181a5a9a95e24d2111b7792608151a40eb84 (patch) | |
tree | 8ba16eeb3fb7327e5c3c5bba9c5786d4bb6ccec1 /resolv/inet_net_ntop.c | |
parent | 4dd9e35bfd35d3138bc44169baba098005bad51e (diff) | |
parent | 7bb5f8a836b916d6ebf7b6921b136e99cea2442d (diff) |
Merge commit 'refs/top-bases/t/bigmem' into t/bigmem
Diffstat (limited to 'resolv/inet_net_ntop.c')
-rw-r--r-- | resolv/inet_net_ntop.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/resolv/inet_net_ntop.c b/resolv/inet_net_ntop.c index e50c6a049b..2d57ae3030 100644 --- a/resolv/inet_net_ntop.c +++ b/resolv/inet_net_ntop.c @@ -49,12 +49,7 @@ static char * inet_net_ntop_ipv4 (const u_char *src, int bits, * Paul Vixie (ISC), July 1996 */ char * -inet_net_ntop(af, src, bits, dst, size) - int af; - const void *src; - int bits; - char *dst; - size_t size; +inet_net_ntop (int af, const void *src, int bits, char *dst, size_t size) { switch (af) { case AF_INET: @@ -79,11 +74,7 @@ inet_net_ntop(af, src, bits, dst, size) * Paul Vixie (ISC), July 1996 */ static char * -inet_net_ntop_ipv4(src, bits, dst, size) - const u_char *src; - int bits; - char *dst; - size_t size; +inet_net_ntop_ipv4 (const u_char *src, int bits, char *dst, size_t size) { char *odst = dst; char *t; |