aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-25 14:35:10 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-25 14:35:10 +0000
commit7294aa6146ceb9dd2ebff8b496e351a81a0c8c8c (patch)
treee1b13011abfb19bc201b0bc2ad937608cbc60d27 /interface.c
parent98ca410dab12d43961b72596d9344f8048e30df9 (diff)
downloadfetchmail-7294aa6146ceb9dd2ebff8b496e351a81a0c8c8c.tar.gz
fetchmail-7294aa6146ceb9dd2ebff8b496e351a81a0c8c8c.tar.bz2
fetchmail-7294aa6146ceb9dd2ebff8b496e351a81a0c8c8c.zip
More warning fixes (from FreeBSD 6.1).
svn path=/branches/BRANCH_6-3/; revision=4753
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 2 insertions, 2 deletions
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 */
{