diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 21:21:01 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 21:21:01 +0000 |
commit | 4dfb6c3572b83ea3e8bebf716589664f3f9067dd (patch) | |
tree | 1ab7c8f43d0c31c080f66ad90616e85b20e247e9 /lib/libc/net/gethostbydns.c | |
parent | 6fac89c875e96c44e3b0b7b6b4ee42bbc9cbf8ed (diff) | |
download | FreeBSD-src-4dfb6c3572b83ea3e8bebf716589664f3f9067dd.zip FreeBSD-src-4dfb6c3572b83ea3e8bebf716589664f3f9067dd.tar.gz |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/net/gethostbydns.c')
-rw-r--r-- | lib/libc/net/gethostbydns.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c index f301c88..ac93abe 100644 --- a/lib/libc/net/gethostbydns.c +++ b/lib/libc/net/gethostbydns.c @@ -107,10 +107,7 @@ int _dns_ttl_; #ifdef DEBUG static void -dprintf(msg, num, res) - char *msg; - int num; - res_state res; +dprintf(char *msg, int num, res_state res) { if (res->options & RES_DEBUG) { int save = errno; @@ -769,7 +766,7 @@ _sethostdnsent(int stayopen) } void -_endhostdnsent() +_endhostdnsent(void) { res_state statp; |