summaryrefslogtreecommitdiffstats
path: root/zebra/misc_null.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-03 09:14:46 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-07 15:43:32 +0200
commit28feb0b3a26d15c44d4306967b670ff7eb377c69 (patch)
tree5eafeb314c3755ab5c0a2fa6f7c6cc3dbcafe8d1 /zebra/misc_null.c
parentzebra: Cleanup missed cherry-pick (diff)
downloadfrr-28feb0b3a26d15c44d4306967b670ff7eb377c69.tar.xz
frr-28feb0b3a26d15c44d4306967b670ff7eb377c69.zip
zebra: clean up misc_null pragmas
The no-op alternatives provided in misc_null trigger a few warnings since they provide functions / use pragmas without prototypes. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit a3466abd93f83424f9f83e56282e42188e1f94ce)
Diffstat (limited to 'zebra/misc_null.c')
-rw-r--r--zebra/misc_null.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/misc_null.c b/zebra/misc_null.c
index 4137dc003..a83c30741 100644
--- a/zebra/misc_null.c
+++ b/zebra/misc_null.c
@@ -29,6 +29,12 @@
void rtadv_config_write (struct vty *vty, struct interface *ifp) { return; }
void irdp_config_write (struct vty *vty, struct interface *ifp) { return; }
+#ifdef HAVE_PROC_NET_DEV
+void ifstat_update_proc (void) { return; }
+#endif
+#ifdef HAVE_NET_RT_IFLIST
+void ifstat_update_sysctl (void) { return; }
+#endif
void
zfpm_trigger_update (struct route_node *rn, const char *reason)