@@ -538,7 +538,7 @@ resize_receive_buffer(int size)
538
538
}
539
539
540
540
static void
541
- babel_distribute_update (struct distribute_ctx * ctx , struct distribute * dist )
541
+ babel_distribute_update (struct distribute_ctx * ctx __attribute__(( __unused__ )) , struct distribute * dist )
542
542
{
543
543
struct interface * ifp ;
544
544
babel_interface_nfo * babel_ifp ;
@@ -593,7 +593,7 @@ babel_distribute_update_all (struct prefix_list *notused)
593
593
}
594
594
595
595
static void
596
- babel_distribute_update_all_wrapper (struct access_list * notused )
596
+ babel_distribute_update_all_wrapper (struct access_list * notused __attribute__(( __unused__ )) )
597
597
{
598
598
babel_distribute_update_all (NULL );
599
599
}
@@ -872,16 +872,18 @@ babeld_quagga_init(void)
872
872
/* Stubs to adapt Babel's filtering calls to Quagga's infrastructure. */
873
873
874
874
int
875
- input_filter (const unsigned char * id ,
875
+ input_filter (const unsigned char * id __attribute__(( __unused__ )) ,
876
876
const unsigned char * prefix , unsigned short plen ,
877
- const unsigned char * neigh , unsigned int ifindex )
877
+ const unsigned char * neigh __attribute__((__unused__ )),
878
+ unsigned int ifindex )
878
879
{
879
880
return babel_filter (0 , prefix , plen , ifindex );
880
881
}
881
882
882
883
int
883
- output_filter (const unsigned char * id , const unsigned char * prefix ,
884
- unsigned short plen , unsigned int ifindex )
884
+ output_filter (const unsigned char * id __attribute__((__unused__ )),
885
+ const unsigned char * prefix , unsigned short plen ,
886
+ unsigned int ifindex )
885
887
{
886
888
return babel_filter (1 , prefix , plen , ifindex );
887
889
}
0 commit comments