From 8830e5e6ad09af3e65b39a89c8d42f0c3f48bf6a Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 4 Jul 2006 16:49:27 +0000 Subject: [PATCH] fix net_stat decl for win32 --- src/sigar.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/sigar.c b/src/sigar.c index fb02a11c..b486ca89 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -808,9 +808,10 @@ static int net_stat_walker(sigar_net_connection_walker_t *walker, return SIGAR_OK; } -int sigar_net_stat_get(sigar_t *sigar, - sigar_net_stat_t *netstat, - int flags) +SIGAR_DECLARE(int) +sigar_net_stat_get(sigar_t *sigar, + sigar_net_stat_t *netstat, + int flags) { int status; sigar_net_connection_walker_t walker;