From: Andrew Certain Date: Tue, 4 Dec 2012 21:40:58 +0000 (-0800) Subject: ospfd: Update nsm_change_state to static scope, as it is not called from elsewhere X-Git-Tag: frr-2.0-rc1~1724^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=de54b26caca7442af29656282e753b02aac6f093;p=mirror%2Ffrr.git ospfd: Update nsm_change_state to static scope, as it is not called from elsewhere Signed-off-by: Scott Feldman --- diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c index cbc31716b3..436896c208 100644 --- a/ospfd/ospf_nsm.c +++ b/ospfd/ospf_nsm.c @@ -643,7 +643,7 @@ nsm_notice_state_change (struct ospf_neighbor *nbr, int next_state, int event) #endif } -void +static void nsm_change_state (struct ospf_neighbor *nbr, int state) { struct ospf_interface *oi = nbr->oi; diff --git a/ospfd/ospf_nsm.h b/ospfd/ospf_nsm.h index 4f2ae80839..9b7e14a4ae 100644 --- a/ospfd/ospf_nsm.h +++ b/ospfd/ospf_nsm.h @@ -81,7 +81,6 @@ /* Prototypes. */ extern int ospf_nsm_event (struct thread *); -extern void nsm_change_state (struct ospf_neighbor *, int); extern void ospf_check_nbr_loading (struct ospf_neighbor *); extern int ospf_db_summary_isempty (struct ospf_neighbor *); extern int ospf_db_summary_count (struct ospf_neighbor *);