summaryrefslogtreecommitdiff
path: root/lib/libc/net/gethostbydns.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-21 22:49:10 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-21 22:49:10 +0000
commitc05ac53b8bbbbd998e18c6544011dd90f0f082da (patch)
tree8e16a65843d0b07cf60b7fb748e2ac4890d6f1fd /lib/libc/net/gethostbydns.c
parent2a66bf165bb3801d2346830c387414f759ab9f52 (diff)
Notes
Diffstat (limited to 'lib/libc/net/gethostbydns.c')
-rw-r--r--lib/libc/net/gethostbydns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index f232dc9360f3..b41a7a09598b 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -95,7 +95,7 @@ static char hostbuf[8*1024];
static u_char host_addr[16]; /* IPv4 or IPv6 */
#ifdef RESOLVSORT
-static void addrsort __P((char **, int));
+static void addrsort(char **, int);
#endif
#ifdef DEBUG
@@ -172,7 +172,7 @@ gethostanswer(answer, anslen, qname, qtype)
int toobig = 0;
char tbuf[MAXDNAME];
const char *tname;
- int (*name_ok) __P((const char *));
+ int (*name_ok)(const char *);
tname = qname;
host.h_name = NULL;