summaryrefslogtreecommitdiffstats
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorpaul <paul>2006-08-06 15:57:59 +0000
committerpaul <paul>2006-08-06 15:57:59 +0000
commit031b08d1f35f114f85b0697e3c3cfa2f6aa8472b (patch)
tree19e138b9dd9d59c0de40c73381fe5aa65b4b39bd /zebra/interface.h
parent2c5ad1b10b71dcf8606ca8cead31ee6e4246ac17 (diff)
downloadquagga-031b08d1f35f114f85b0697e3c3cfa2f6aa8472b.tar.bz2
quagga-031b08d1f35f114f85b0697e3c3cfa2f6aa8472b.tar.xz
[zebra] fix inconsistencies in ifstat_update_* declarations and definitions
2006-08-06 Paul Jakma <paul.jakma@sun.com> * 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).
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h2
1 files changed, 1 insertions, 1 deletions
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);