summaryrefslogtreecommitdiff
path: root/lib/libc/net/ns_ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/ns_ntoa.c')
-rw-r--r--lib/libc/net/ns_ntoa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/ns_ntoa.c b/lib/libc/net/ns_ntoa.c
index ad3265399b6..777028cff28 100644
--- a/lib/libc/net/ns_ntoa.c
+++ b/lib/libc/net/ns_ntoa.c
@@ -45,6 +45,8 @@ static char rcsid[] = "$NetBSD: ns_ntoa.c,v 1.4 1995/02/25 06:20:51 cgd Exp $";
#include <netns/ns.h>
#include <stdio.h>
+static char *spectHex __P((char *));
+
char *
ns_ntoa(addr)
struct ns_addr addr;
@@ -56,7 +58,6 @@ ns_ntoa(addr)
char *cp2;
register u_char *up = addr.x_host.c_host;
u_char *uplim = up + 6;
- static char *spectHex();
net.net_e = addr.x_net;
sprintf(obuf, "%lx", ntohl(net.long_e));