From: Stephen Hemminger Date: Fri, 7 Aug 2009 04:07:23 +0000 (-0700) Subject: bgp: compiler warning fix X-Git-Tag: frr-2.0-rc1~2214 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=62bed38d2f2c7317b5c97285d9fb935c5fe681e1;p=mirror%2Ffrr.git bgp: compiler warning fix * bgp_filter.h: Gcc complains the function prototype is not correct because the function argument is using old K&R style. --- diff --git a/bgpd/bgp_filter.h b/bgpd/bgp_filter.h index 8c27a93021..c1da90412c 100644 --- a/bgpd/bgp_filter.h +++ b/bgpd/bgp_filter.h @@ -33,7 +33,7 @@ extern void bgp_filter_reset (void); extern enum as_filter_type as_list_apply (struct as_list *, void *); extern struct as_list *as_list_lookup (const char *); -extern void as_list_add_hook (void (*func) ()); -extern void as_list_delete_hook (void (*func) ()); +extern void as_list_add_hook (void (*func) (void)); +extern void as_list_delete_hook (void (*func) (void)); #endif /* _QUAGGA_BGP_FILTER_H */