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, 4 insertions, 0 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 4a56655..a113640 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -98,6 +98,10 @@ static u_char host_addr[16]; /* IPv4 or IPv6 */
static void addrsort __P((char **, int));
#endif
+#ifdef DEBUG
+static void dprintf(char *, int) __printflike(1, 0);
+#endif
+
#if PACKETSZ > 1024
#define MAXPACKET PACKETSZ
#else
OpenPOWER on IntegriCloud