From a526c05525b3f53b84e69faf67e520ca542b8c86 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Thu, 23 Sep 2021 12:21:09 -0300 Subject: [PATCH] ospf6d: declare neighbor memtype as static This is the only ospf6d memtype that wasn't being declared as static. Signed-off-by: Renato Westphal --- ospf6d/ospf6_neighbor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospf6d/ospf6_neighbor.c b/ospf6d/ospf6_neighbor.c index 6f2795a56d..36948dc0a7 100644 --- a/ospf6d/ospf6_neighbor.c +++ b/ospf6d/ospf6_neighbor.c @@ -48,7 +48,7 @@ #include "ospf6_gr.h" #include "lib/json.h" -DEFINE_MTYPE(OSPF6D, OSPF6_NEIGHBOR, "OSPF6 neighbor"); +DEFINE_MTYPE_STATIC(OSPF6D, OSPF6_NEIGHBOR, "OSPF6 neighbor"); DEFINE_HOOK(ospf6_neighbor_change, (struct ospf6_neighbor * on, int state, int next_state),