summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_nsm.c
diff options
context:
space:
mode:
authorAndrew Certain <certain@amazon.com>2012-12-04 22:40:58 +0100
committerScott Feldman <sfeldma@cumulusnetworks.com>2013-01-07 18:59:57 +0100
commitde54b26caca7442af29656282e753b02aac6f093 (patch)
tree9457016f36d1e59edf672b54cf5b66fb29c68dd9 /ospfd/ospf_nsm.c
parentospfd: Changed TE instance check to remove -Wtype-limits warning (diff)
downloadfrr-de54b26caca7442af29656282e753b02aac6f093.tar.xz
frr-de54b26caca7442af29656282e753b02aac6f093.zip
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/ospf_nsm.c')
-rw-r--r--ospfd/ospf_nsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c
index cbc31716b..436896c20 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;