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:
Bosko Milekic 2001-01-12 07:47:53 +00:00
parent 00e5e98182
commit 987efc765e

View File

@ -483,6 +483,7 @@ int in_broadcast __P((struct in_addr, struct ifnet *));
int in_canforward __P((struct in_addr));
int in_localaddr __P((struct in_addr));
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));
void prison_remote_ip __P((struct proc *p, int flag, u_int32_t *ip));