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.h"
#include "sigar_private.h" #include "sigar_private.h"
#include "sigar_os.h" #include "sigar_os.h"
#include "sigar_util.h"
int sigar_os_open(sigar_t **sigar) 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, int sigar_net_route_list_get(sigar_t *sigar,
sigar_net_route_list_t *routelist) sigar_net_route_list_t *routelist)
{ {
sigar_net_route_t *route; return SIGAR_ENOTIMPL;
sigar_net_route_list_create(routelist);
return SIGAR_OK;
} }
int sigar_net_interface_stat_get(sigar_t *sigar, const char *name, int sigar_net_interface_stat_get(sigar_t *sigar, const char *name,