net_connection_list_get needs decl for win32

This commit is contained in:
Doug MacEachern 2006-07-01 19:06:11 +00:00
parent 51dceb9688
commit 5f8da2ce15
1 changed files with 4 additions and 3 deletions

View File

@ -737,9 +737,10 @@ static int net_connection_list_walker(sigar_net_connection_walker_t *walker,
return SIGAR_OK; /* continue loop */
}
int sigar_net_connection_list_get(sigar_t *sigar,
sigar_net_connection_list_t *connlist,
int flags)
SIGAR_DECLARE(int)
sigar_net_connection_list_get(sigar_t *sigar,
sigar_net_connection_list_t *connlist,
int flags)
{
int status;
sigar_net_connection_walker_t walker;