diff options
Diffstat (limited to 'src/lib/libc/net/ns_ntoa.c')
| -rw-r--r-- | src/lib/libc/net/ns_ntoa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/ns_ntoa.c b/src/lib/libc/net/ns_ntoa.c index ad3265399b..777028cff2 100644 --- a/src/lib/libc/net/ns_ntoa.c +++ b/src/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 $"; | |||
| 45 | #include <netns/ns.h> | 45 | #include <netns/ns.h> |
| 46 | #include <stdio.h> | 46 | #include <stdio.h> |
| 47 | 47 | ||
| 48 | static char *spectHex __P((char *)); | ||
| 49 | |||
| 48 | char * | 50 | char * |
| 49 | ns_ntoa(addr) | 51 | ns_ntoa(addr) |
| 50 | struct ns_addr addr; | 52 | struct ns_addr addr; |
| @@ -56,7 +58,6 @@ ns_ntoa(addr) | |||
| 56 | char *cp2; | 58 | char *cp2; |
| 57 | register u_char *up = addr.x_host.c_host; | 59 | register u_char *up = addr.x_host.c_host; |
| 58 | u_char *uplim = up + 6; | 60 | u_char *uplim = up + 6; |
| 59 | static char *spectHex(); | ||
| 60 | 61 | ||
| 61 | net.net_e = addr.x_net; | 62 | net.net_e = addr.x_net; |
| 62 | sprintf(obuf, "%lx", ntohl(net.long_e)); | 63 | sprintf(obuf, "%lx", ntohl(net.long_e)); |
