From 5361b0bdcd075bd8afb1e309f8fece57dc4ae58d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 19 Sep 2005 08:13:31 +0000 Subject: Fix missing interface_init() link failure on non-Linux/non-FreeBSD systems. svn path=/trunk/; revision=4294 --- interface.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'interface.c') 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 -- cgit v1.2.3