]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Cleanup bgp_start declarations
authorDonald Sharp <sharpd@nvidia.com>
Tue, 10 Aug 2021 04:55:40 +0000 (00:55 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 18 Aug 2023 13:29:04 +0000 (09:29 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_fsm.c

index fe0028848f93d18b227c143a39faccb47e62f360..63e9fa7bca65e23d0cd09e2dd61cdd1495faea9b 100644 (file)
@@ -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;