Skip to content

Commit

Permalink
bgpd: Cleanup bgp_start declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
  • Loading branch information
donaldsharp committed Aug 18, 2023
1 parent 26ad36e commit 419c5b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bgpd/bgp_fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 419c5b4

Please sign in to comment.