fix net_stat decl for win32

This commit is contained in:
Doug MacEachern 2006-07-04 16:49:27 +00:00
parent 0638e38671
commit 8830e5e6ad
1 changed files with 4 additions and 3 deletions

View File

@ -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;