mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
Don't declare spectHex() inside a function, use a real prototype.
Approved by: das (mentor)
This commit is contained in:
parent
1916772e6f
commit
da2e20777e
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue