From a20526cc30d68ca5c4c7951238faafa8969a31c1 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Apr 2010 14:29:17 +0100 Subject: 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. --- zebra/misc_null.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'zebra/misc_null.c') 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 -- cgit v1.2.3