mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129667
@ -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