summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_neighbor.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-03-22 18:37:25 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-22 18:37:25 +0100
commitb4216e2c6681fabb755b814f8304f37cea0d235b (patch)
tree16cee9606ce98ac97554b7cb7052b5d63ef6ae3b /eigrpd/eigrp_neighbor.c
parentisisd: kill isis_memory.h, use MTYPE_STATIC (diff)
downloadfrr-b4216e2c6681fabb755b814f8304f37cea0d235b.tar.xz
frr-b4216e2c6681fabb755b814f8304f37cea0d235b.zip
eigrpd: kill eigrp_memory.h, use MTYPE_STATIC
Same as previous commit -- convert most DEFINE_MTYPE into the _STATIC variant, and move the remaining non-static ones to appropriate places. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'eigrpd/eigrp_neighbor.c')
-rw-r--r--eigrpd/eigrp_neighbor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/eigrpd/eigrp_neighbor.c b/eigrpd/eigrp_neighbor.c
index 1da2f7a10..f2d5217eb 100644
--- a/eigrpd/eigrp_neighbor.c
+++ b/eigrpd/eigrp_neighbor.c
@@ -52,9 +52,10 @@
#include "eigrpd/eigrp_vty.h"
#include "eigrpd/eigrp_network.h"
#include "eigrpd/eigrp_topology.h"
-#include "eigrpd/eigrp_memory.h"
#include "eigrpd/eigrp_errors.h"
+DEFINE_MTYPE_STATIC(EIGRPD, EIGRP_NEIGHBOR, "EIGRP neighbor");
+
struct eigrp_neighbor *eigrp_nbr_new(struct eigrp_interface *ei)
{
struct eigrp_neighbor *nbr;