diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-06 21:07:23 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-08-13 09:59:58 +0100 |
commit | 62bed38d2f2c7317b5c97285d9fb935c5fe681e1 (patch) | |
tree | 8fd4189ed9927b258cfc2fdbb20fcd48cbd08e9b /bgpd | |
parent | 3106a03215f5f09c2c0d427fa706fff52ef3cb37 (diff) |
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.
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_filter.h b/bgpd/bgp_filter.h index 8c27a930..c1da9041 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 */ |