From 66e5cd87194ae6fdd51061a91b4698bc0a652f6b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 9 Feb 2009 10:14:16 -0800 Subject: [cleanup] functions taking no args should be declared with void args Use Ansi-C prototypes rather than old K&R method of declaring function without arguments --- bgpd/bgp_fsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_fsm.c') diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index 15bd8a6c..92485731 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -902,7 +902,7 @@ bgp_ignore (struct peer *peer) /* Finite State Machine structure */ struct { - int (*func) (); + int (*func) (struct peer *); int next_state; } FSM [BGP_STATUS_MAX - 1][BGP_EVENTS_MAX - 1] = { -- cgit v1.2.1