From 77452012279b1cf325cda21327d592335221e36d Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 2 Jan 2006 22:00:32 +0000 Subject: [PATCH] route_list works on freebsd4 too --- src/os/darwin/darwin_sigar.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 33f4e7f7..90937688 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -1512,7 +1512,6 @@ int sigar_cpu_info_list_get(sigar_t *sigar, int sigar_net_route_list_get(sigar_t *sigar, sigar_net_route_list_t *routelist) { -#if defined(SIGAR_FREEBSD5) || defined(DARWIN) size_t needed; int bit; char *buf, *next, *lim; @@ -1584,9 +1583,6 @@ int sigar_net_route_list_get(sigar_t *sigar, free(buf); return SIGAR_OK; -#else - return SIGAR_ENOTIMPL; -#endif } typedef enum {