summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-08-04 06:14:13 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-08-04 06:14:13 +0000
commit7e4bcdc1d6d0e0338fe5cac6103dd485332e7b51 (patch)
tree14e0a08849b424d73a41020ee15207d8e6591c8d
parenta6974fef057a6673be3bb11042a92c9490ece894 (diff)
[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.
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/misc_null.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 72245eb3..dced6760 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -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>
* misc_null.c: Must include header files to get older versions of gcc
diff --git a/zebra/misc_null.c b/zebra/misc_null.c
index b6a124ff..73594301 100644
--- a/zebra/misc_null.c
+++ b/zebra/misc_null.c
@@ -3,7 +3,9 @@
#include "prefix.h"
#include "zebra/rtadv.h"
#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
+#pragma weak ifstat_update_sysctl = ifstat_update_proc