From 7294aa6146ceb9dd2ebff8b496e351a81a0c8c8c Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 25 Mar 2006 14:35:10 +0000 Subject: More warning fixes (from FreeBSD 6.1). svn path=/branches/BRANCH_6-3/; revision=4753 --- interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 0d1c5ad0..926c82ef 100644 --- a/interface.c +++ b/interface.c @@ -63,8 +63,6 @@ struct interface_pair_s { struct in_addr interface_mask; } *interface_pair; -static char *netdevfmt; - /* * Count of packets to see on an interface before monitor considers it up. * Needed because when pppd shuts down the link, the packet counts go up @@ -76,6 +74,8 @@ static char *netdevfmt; #ifdef linux #define have_interface_init +static char *netdevfmt; + void interface_init(void) /* figure out which /proc/net/dev format to use */ { -- cgit v1.2.3