From 6dbaff7b0764cdfe7cc48a180323784c3d1ae311 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 2 Jan 2006 22:04:19 +0000 Subject: [PATCH] net_connection_list works on freebsd4 too --- src/os/darwin/darwin_sigar.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 90937688..845cbde8 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -1817,8 +1817,6 @@ int sigar_net_interface_stat_get(sigar_t *sigar, const char *name, return SIGAR_OK; } -#if defined(SIGAR_FREEBSD5) || defined(DARWIN) - #include #include #include @@ -1985,14 +1983,6 @@ int sigar_net_connection_list_get(sigar_t *sigar, return SIGAR_OK; } -#else -int sigar_net_connection_list_get(sigar_t *sigar, - sigar_net_connection_list_t *connlist, - int flags) -{ - return SIGAR_ENOTIMPL; -} -#endif #if defined(SIGAR_FREEBSD5)