diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-09-19 08:13:31 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-09-19 08:13:31 +0000 |
commit | 5361b0bdcd075bd8afb1e309f8fece57dc4ae58d (patch) | |
tree | 9d791f68ebed2b487f1fce14828bac7fad8144c8 | |
parent | 866dcd91e1abb04459fc919a5f6a0d5cc3341893 (diff) | |
download | fetchmail-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
-rw-r--r-- | interface.c | 9 |
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 |