Prototype inet_ntoa_r and thereby silence a warning from GCC. The function
is prototyped immediately under inet_ntoa, which is also from libkern.
This commit is contained in:
parent
00e5e98182
commit
987efc765e
@ -483,6 +483,7 @@ int in_broadcast __P((struct in_addr, struct ifnet *));
|
|||||||
int in_canforward __P((struct in_addr));
|
int in_canforward __P((struct in_addr));
|
||||||
int in_localaddr __P((struct in_addr));
|
int in_localaddr __P((struct in_addr));
|
||||||
char *inet_ntoa __P((struct in_addr)); /* in libkern */
|
char *inet_ntoa __P((struct in_addr)); /* in libkern */
|
||||||
|
char *inet_ntoa_r __P((struct in_addr ina, char *buf)); /* in libkern */
|
||||||
|
|
||||||
int prison_ip __P((struct proc *p, int flag, u_int32_t *ip));
|
int prison_ip __P((struct proc *p, int flag, u_int32_t *ip));
|
||||||
void prison_remote_ip __P((struct proc *p, int flag, u_int32_t *ip));
|
void prison_remote_ip __P((struct proc *p, int flag, u_int32_t *ip));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user