[zebra] add more stuff to misc_null to avoid compile breakages

2006-08-04 Paul Jakma <paul.jakma@sun.com>

	* misc_null.c: Add ifstat_update_sysctl, add another required
	  header.
This commit is contained in:
Paul Jakma 2006-08-04 06:14:13 +00:00
parent a6974fef05
commit 7e4bcdc1d6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-08-04 Paul Jakma <paul.jakma@sun.com>
* misc_null.c: Add ifstat_update_sysctl, add another required
header.
2006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* misc_null.c: Must include header files to get older versions of gcc * misc_null.c: Must include header files to get older versions of gcc

View File

@ -3,7 +3,9 @@
#include "prefix.h" #include "prefix.h"
#include "zebra/rtadv.h" #include "zebra/rtadv.h"
#include "zebra/irdp.h" #include "zebra/irdp.h"
#include "zebra/interface.h"
void ifstat_update_proc (void) { return; } void ifstat_update_proc (void) { return; }
#pragma weak rtadv_config_write = ifstat_update_proc #pragma weak rtadv_config_write = ifstat_update_proc
#pragma weak irdp_config_write = ifstat_update_proc #pragma weak irdp_config_write = ifstat_update_proc
#pragma weak ifstat_update_sysctl = ifstat_update_proc