]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: Update nsm_change_state to static scope, as it is not called from elsewhere
authorAndrew Certain <certain@amazon.com>
Tue, 4 Dec 2012 21:40:58 +0000 (13:40 -0800)
committerScott Feldman <sfeldma@cumulusnetworks.com>
Mon, 7 Jan 2013 17:59:57 +0000 (09:59 -0800)
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
ospfd/ospf_nsm.c
ospfd/ospf_nsm.h

index cbc31716b324777c8b94e3af9d3602189a499578..436896c208ab5a3fc32c34de6f6eacdc9f9baaa5 100644 (file)
@@ -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;
index 4f2ae808393f530e50d306cb281661867f823ea6..9b7e14a4ae71c451eea60bd26eacf35bf67d5925 100644 (file)
@@ -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 *);