aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-09-19 08:13:31 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-09-19 08:13:31 +0000
commit5361b0bdcd075bd8afb1e309f8fece57dc4ae58d (patch)
tree9d791f68ebed2b487f1fce14828bac7fad8144c8 /interface.c
parent866dcd91e1abb04459fc919a5f6a0d5cc3341893 (diff)
downloadfetchmail-5361b0bdcd075bd8afb1e309f8fece57dc4ae58d.tar.gz
fetchmail-5361b0bdcd075bd8afb1e309f8fece57dc4ae58d.tar.bz2
fetchmail-5361b0bdcd075bd8afb1e309f8fece57dc4ae58d.zip
Fix missing interface_init() link failure on non-Linux/non-FreeBSD systems.
svn path=/trunk/; revision=4294
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/interface.c b/interface.c
index f01fb1ba..0d1c5ad0 100644
--- a/interface.c
+++ b/interface.c
@@ -547,11 +547,6 @@ get_ifinfo_end:
#endif
-#ifndef have_interface_init
-void interface_init(void) {};
-#endif
-
-
#ifndef HAVE_INET_ATON
/*
* Note: This is not a true replacement for inet_aton(), as it won't
@@ -739,3 +734,7 @@ int interface_approve(struct hostdata *hp, flag domonitor)
return(TRUE);
}
#endif /* CAN_MONITOR */
+
+#ifndef have_interface_init
+void interface_init(void) {};
+#endif