summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorAndrew Certain <certain@amazon.com>2012-12-04 13:40:58 -0800
committerScott Feldman <sfeldma@cumulusnetworks.com>2013-01-07 09:59:57 -0800
commitde54b26caca7442af29656282e753b02aac6f093 (patch)
tree9457016f36d1e59edf672b54cf5b66fb29c68dd9 /ospfd
parent703819a9314692f3a3b7f888887b0cebc15c18ae (diff)
ospfd: Update nsm_change_state to static scope, as it is not called from elsewhere
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_nsm.c2
-rw-r--r--ospfd/ospf_nsm.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c
index cbc31716..436896c2 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 4f2ae808..9b7e14a4 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 *);