From 419c5b4ef0641331b6db9b26bca729043d4940dc Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 10 Aug 2021 00:55:40 -0400 Subject: [PATCH] bgpd: Cleanup bgp_start declarations Signed-off-by: Donald Sharp --- bgpd/bgp_fsm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index fe0028848f..63e9fa7bca 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -83,9 +83,6 @@ static void bgp_connect_timer(struct event *event); static void bgp_holdtime_timer(struct event *event); static void bgp_delayopen_timer(struct event *event); -/* BGP FSM functions. */ -static enum bgp_fsm_state_progress bgp_start(struct peer_connection *connection); - /* Register peer with NHT */ int bgp_peer_reg_with_nht(struct peer *peer) { @@ -1833,7 +1830,7 @@ bgp_connect_fail(struct peer_connection *connection) /* This function is the first starting point of all BGP connection. It * try to connect to remote peer with non-blocking IO. */ -enum bgp_fsm_state_progress bgp_start(struct peer_connection *connection) +static enum bgp_fsm_state_progress bgp_start(struct peer_connection *connection) { struct peer *peer = connection->peer; int status;