summaryrefslogtreecommitdiffstats
path: root/lib/yang.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-21 08:25:42 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-21 08:54:25 +0200
commiteaf58ba906129ecaf61ff21ad9263e12bd8931cb (patch)
tree2620916ebc31d208f3a3cd07650d5f421e4d223b /lib/yang.c
parentbabeld: use MTYPE_STATIC (diff)
downloadfrr-eaf58ba906129ecaf61ff21ad9263e12bd8931cb.tar.xz
frr-eaf58ba906129ecaf61ff21ad9263e12bd8931cb.zip
lib: use MTYPE_STATIC
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/yang.c')
-rw-r--r--lib/yang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yang.c b/lib/yang.c
index 2f9a9aa5a..674f3610d 100644
--- a/lib/yang.c
+++ b/lib/yang.c
@@ -27,8 +27,8 @@
#include <libyang/user_types.h>
-DEFINE_MTYPE(LIB, YANG_MODULE, "YANG module")
-DEFINE_MTYPE(LIB, YANG_DATA, "YANG data structure")
+DEFINE_MTYPE_STATIC(LIB, YANG_MODULE, "YANG module")
+DEFINE_MTYPE_STATIC(LIB, YANG_DATA, "YANG data structure")
/* libyang container. */
struct ly_ctx *ly_native_ctx;