fix compiler warnings

This commit is contained in:
Doug MacEachern 2004-09-06 02:50:41 +00:00
parent 53f9672970
commit cb45a3956c
1 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,7 @@
#include "sigar.h"
#include "sigar_private.h"
#include "sigar_os.h"
#include "sigar_util.h"
int sigar_os_open(sigar_t **sigar)
{
@ -218,11 +219,7 @@ int sigar_cpu_info_list_get(sigar_t *sigar,
int sigar_net_route_list_get(sigar_t *sigar,
sigar_net_route_list_t *routelist)
{
sigar_net_route_t *route;
sigar_net_route_list_create(routelist);
return SIGAR_OK;
return SIGAR_ENOTIMPL;
}
int sigar_net_interface_stat_get(sigar_t *sigar, const char *name,