Make an MTYPE used in zifs internal/static
Signed-off-by: Mark Stapp <mjs@cisco.com>
DEFINE_HOOK(zebra_if_extra_info, (struct vty * vty, struct interface *ifp),
(vty, ifp));
-DEFINE_MTYPE(ZEBRA, ZIF_DESC, "Intf desc");
+DEFINE_MTYPE_STATIC(ZEBRA, ZIF_DESC, "Intf desc");
static void if_down_del_nbr_connected(struct interface *ifp);
#define ZEBRA_IF_IS_PROTODOWN_ONLY_EXTERNAL(zif) \
((zif)->protodown_rc == ZEBRA_PROTODOWN_EXTERNAL)
-/* Mem type for zif desc */
-DECLARE_MTYPE(ZIF_DESC);
-
/* `zebra' daemon local interface structure. */
struct zebra_if {
/* back pointer to the interface */