diff options
author | 2007-05-27 20:14:15 +0000 | |
---|---|---|
committer | 2007-05-27 20:14:15 +0000 | |
commit | 820c07cbe0bf20c899ff43ea519733d136ab28dd (patch) | |
tree | a41ec83521fdec157fc8c6454cf9ee233d0b4934 /sys/netinet | |
parent | rewrite a static inline func that simply coerces a return type of another (diff) | |
download | wireguard-openbsd-820c07cbe0bf20c899ff43ea519733d136ab28dd.tar.xz wireguard-openbsd-820c07cbe0bf20c899ff43ea519733d136ab28dd.zip |
-static on appropriate functions
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index af1a440c73a..dc0804981bc 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.147 2007/03/18 23:23:17 mpf Exp $ */ +/* $OpenBSD: ip_input.c,v 1.148 2007/05/27 20:14:15 dlg Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -196,8 +196,8 @@ static struct ip_srcrt { struct in_addr route[MAX_IPOPTLEN/sizeof(struct in_addr)]; } ip_srcrt; -static void save_rte(u_char *, struct in_addr); -static int ip_weadvertise(u_int32_t); +void save_rte(u_char *, struct in_addr); +int ip_weadvertise(u_int32_t); /* * IP initialization: fill in IP protocol switch table. @@ -1264,7 +1264,7 @@ save_rte(option, dst) * Check whether we do proxy ARP for this address and we point to ourselves. * Code shamelessly copied from arplookup(). */ -static int +int ip_weadvertise(addr) u_int32_t addr; { |