ethernet: add sanity checks to p2p_ethernet_add/del
[vpp.git] / src / vlib / stat_weak_inlines.h
index 5c04610..a1311e8 100644 (file)
@@ -32,10 +32,10 @@ void
 vlib_stats_pop_heap (void *notused, void *notused2, u32 i, int type)
 {
 };
-void vlib_stats_register_error_index (u8 *, u64 *, u64)
+void vlib_stats_register_error_index (void *, u8 *, u64 *, u64)
   __attribute__ ((weak));
 void
-vlib_stats_register_error_index (u8 * notused, u64 * notused2, u64 notused3)
+vlib_stats_register_error_index (void * notused, u8 * notused2, u64 * notused3, u64 notused4)
 {
 };
 
@@ -57,5 +57,10 @@ void
 vlib_stat_segment_unlock (void)
 {
 }
+void vlib_stats_delete_cm (void *) __attribute__ ((weak));
+void
+vlib_stats_delete_cm (void *notused)
+{
+}
 
 #endif