diff options
author | dougb <dougb@FreeBSD.org> | 2002-07-01 01:07:56 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-07-01 01:07:56 +0000 |
commit | f4bd5053ab2eb505b16099244427d9e93442fe90 (patch) | |
tree | 2b447904bb3b9c0f6670bba10470d09a443c9a2e /contrib/bind/bin/addr | |
parent | 52cf506b39ec774bba7e719390541e881296c3c4 (diff) | |
download | FreeBSD-src-f4bd5053ab2eb505b16099244427d9e93442fe90.zip FreeBSD-src-f4bd5053ab2eb505b16099244427d9e93442fe90.tar.gz |
Import of ISC BIND version 8.3.3
Diffstat (limited to 'contrib/bind/bin/addr')
-rw-r--r-- | contrib/bind/bin/addr/addr.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/contrib/bind/bin/addr/addr.c b/contrib/bind/bin/addr/addr.c index a693391..ae48ea5 100644 --- a/contrib/bind/bin/addr/addr.c +++ b/contrib/bind/bin/addr/addr.c @@ -1,5 +1,5 @@ #if !defined(lint) && !defined(SABER) -static const char rcsid[] = "$Id: addr.c,v 8.8 1999/10/13 16:38:55 vixie Exp $"; +static const char rcsid[] = "$Id: addr.c,v 8.9 2002/05/21 02:26:21 marka Exp $"; #endif /* not lint */ /* @@ -47,11 +47,7 @@ usage() { /* Warning: this scribbles on `dst' even if it's going to return `0'. */ static int -hexstring(src, dst, len) - const char *src; - u_char *dst; - int len; -{ +hexstring(const char *src, u_char *dst, int len) { static const char xdigits[] = "0123456789abcdef"; u_char *ptr = dst, *end = dst + len; u_int val; @@ -100,12 +96,7 @@ hexstring(src, dst, len) } static void -display(input, af, addr, len) - const char *input; - int af; - const u_char *addr; - int len; -{ +display(const char *input, int af, const u_char *addr, int len) { static int before = 0; char p[sizeof "xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255"]; int i; |