From f28b0e57bd5173215132fed02aa4b284d7cbe26a Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Sun, 6 Aug 2006 15:57:59 +0000 Subject: [zebra] fix inconsistencies in ifstat_update_* declarations and definitions 2006-08-06 Paul Jakma * interface.h: (ifstat_update_proc) declaration should match ifstat_update_sysctl really, which is to not return status, as such status is not used anywhere. * if_{proc,sysctl}.c: Make ifstat_update_* definitions and return values consistent with each other and their declarations, ie: (void) (*) (void). --- zebra/interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/interface.h') diff --git a/zebra/interface.h b/zebra/interface.h index 9a69dfa3..0a6b0365 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -221,7 +221,7 @@ extern int if_subnet_add (struct interface *, struct connected *); extern int if_subnet_delete (struct interface *, struct connected *); #ifdef HAVE_PROC_NET_DEV -extern int ifstat_update_proc (void); +extern void ifstat_update_proc (void); #endif /* HAVE_PROC_NET_DEV */ #ifdef HAVE_NET_RT_IFLIST extern void ifstat_update_sysctl (void); -- cgit v1.2.1