Don't declare spectHex() inside a function, use a real prototype.

Approved by:	das (mentor)
This commit is contained in:
stefanf 2004-05-24 16:48:53 +00:00
parent 95261f33e2
commit 304bfc26b3

View File

@ -43,6 +43,8 @@ static char sccsid[] = "@(#)ipx_ntoa.c";
#include <netipx/ipx.h>
#include <stdio.h>
static char *spectHex(char *);
char *
ipx_ntoa(addr)
struct ipx_addr addr;
@ -54,7 +56,6 @@ ipx_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));