From 4c31b95b7caf8e596817f03ca37ae0ce99910bb4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 7 Feb 1999 18:48:00 +0000 Subject: Better portability. svn path=/trunk/; revision=2380 --- interface.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'interface.c') 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 */ -- cgit v1.2.3