summaryrefslogtreecommitdiffstats
path: root/zebra/misc_null.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-16 14:29:17 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-16 14:29:17 +0100
commita20526cc30d68ca5c4c7951238faafa8969a31c1 (patch)
treec9a0d8ee5e16ee5f42704c9c9f3122f407f13122 /zebra/misc_null.c
parentd6f1bd7b60fc94488dc6a0493a6ec17346a03b2d (diff)
downloadquagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.bz2
quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.xz
Removing compiler warnings.
Removed nearly 100 compiler warnings in the various routing daemons which now clean compile. Removed one warning in vty.c, which was obscured by the other warnings. SO... this commit corrects the previous one.
Diffstat (limited to 'zebra/misc_null.c')
-rw-r--r--zebra/misc_null.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/zebra/misc_null.c b/zebra/misc_null.c
index 73594301..d1d17f71 100644
--- a/zebra/misc_null.c
+++ b/zebra/misc_null.c
@@ -5,7 +5,9 @@
#include "zebra/irdp.h"
#include "zebra/interface.h"
-void ifstat_update_proc (void) { return; }
-#pragma weak rtadv_config_write = ifstat_update_proc
-#pragma weak irdp_config_write = ifstat_update_proc
+extern void ifstat_update_proc (void) ;
+extern void ifstat_update_proc (void) { return; } ;
+
+#pragma weak rtadv_config_write = ifstat_update_proc
+#pragma weak irdp_config_write = ifstat_update_proc
#pragma weak ifstat_update_sysctl = ifstat_update_proc