summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-27 20:14:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-27 20:14:16 +0000
commit48d9fd665080376aefc439ae9c57636dc7db09e6 (patch)
tree1b68d2b15c85ab815b3b2c57163416456d1fac81
parentbdf53eb68647b76d3c3073c6376cbef08affc2c6 (diff)
-static on appropriate functions
-rw-r--r--sys/netinet/ip_input.c8
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;
{