diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-02-07 18:48:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-02-07 18:48:00 +0000 |
commit | 4c31b95b7caf8e596817f03ca37ae0ce99910bb4 (patch) | |
tree | 0bbdcda46218e71291e750c80c4087f5105a6b6b /interface.c | |
parent | f4a61e8c1ace2cbdd9cf3a27abede4ee0ab69c23 (diff) | |
download | fetchmail-4c31b95b7caf8e596817f03ca37ae0ce99910bb4.tar.gz fetchmail-4c31b95b7caf8e596817f03ca37ae0ce99910bb4.tar.bz2 fetchmail-4c31b95b7caf8e596817f03ca37ae0ce99910bb4.zip |
Better portability.
svn path=/trunk/; revision=2380
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/interface.c b/interface.c index 75d975f9..e7175cbf 100644 --- a/interface.c +++ b/interface.c @@ -56,6 +56,8 @@ struct interface_pair_s { static char *netdevfmt; +#if defined(linux) + void interface_init(void) /* figure out which /roc/dev/net format to use */ { @@ -79,9 +81,6 @@ void interface_init(void) } } - -#if defined(linux) - static int _get_ifinfo_(int socket_fd, FILE *stats_file, const char *ifname, ifinfo_t *ifinfo) /* get active network interface information - return non-zero upon success */ |