]> Pileus Git - ~andy/fetchmail/commitdiff
Fix missing interface_init() link failure on non-Linux/non-FreeBSD systems.
authorMatthias Andree <matthias.andree@gmx.de>
Mon, 19 Sep 2005 08:13:31 +0000 (08:13 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Mon, 19 Sep 2005 08:13:31 +0000 (08:13 -0000)
svn path=/trunk/; revision=4294

interface.c

index f01fb1ba74e43e495fa11cd41554e623a127aad9..0d1c5ad0d0a2eb9d83c7328d61d4e7adbdf374cc 100644 (file)
@@ -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