Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/net/ns_ntoa.c')
-rw-r--r--newlib/libc/sys/linux/net/ns_ntoa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/net/ns_ntoa.c b/newlib/libc/sys/linux/net/ns_ntoa.c
index b6a6c4c22..018076064 100644
--- a/newlib/libc/sys/linux/net/ns_ntoa.c
+++ b/newlib/libc/sys/linux/net/ns_ntoa.c
@@ -43,8 +43,6 @@ static char sccsid[] = "@(#)ns_ntoa.c 8.1 (Berkeley) 6/4/93";
#include <netns/ns.h>
#include <stdio.h>
-static char *spectHex(char *p0);
-
char *
ns_ntoa(addr)
struct ns_addr addr;
@@ -56,6 +54,7 @@ ns_ntoa(addr)
char *cp2;
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", (u_long)ntohl(net.long_e));