Don't declare spectHex() inside a function, use a real prototype.
Approved by: das (mentor)
This commit is contained in:
parent
95261f33e2
commit
304bfc26b3
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user