summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/gethostbydns.c
diff options
context:
space:
mode:
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 f232dc9..b41a7a0 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;
OpenPOWER on IntegriCloud