]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgp: compiler warning fix
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 7 Aug 2009 04:07:23 +0000 (21:07 -0700)
committerPaul Jakma <paul@quagga.net>
Thu, 13 Aug 2009 08:59:58 +0000 (09:59 +0100)
* bgp_filter.h: Gcc complains the function prototype is not correct because
  the function argument is using old K&R style.

bgpd/bgp_filter.h

index 8c27a930216895fe27a4066a4fc8bb0dfe86be31..c1da90412c77270f73bb6360b03dd3ae9d46e98d 100644 (file)
@@ -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 */