diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-01-06 10:37:22 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2016-09-19 18:35:50 +0200 |
commit | fc7948fafee457874a21aa955c56a617b563f85c (patch) | |
tree | 919884f8b46b3b7ddbd6137d89dc8990e0739316 /ospfclient | |
parent | lib: add new extensible memory-type handling (diff) | |
download | frr-fc7948fafee457874a21aa955c56a617b563f85c.tar.xz frr-fc7948fafee457874a21aa955c56a617b563f85c.zip |
lib: migrate to new memory-type handling
Move over to the new allocation counting added in the previous commit.
(This commit is mostly mechanical.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Diffstat (limited to 'ospfclient')
-rw-r--r-- | ospfclient/ospf_apiclient.c | 2 | ||||
-rw-r--r-- | ospfclient/ospf_apiclient.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c index ed7ca9475..453e05ce2 100644 --- a/ospfclient/ospf_apiclient.c +++ b/ospfclient/ospf_apiclient.c @@ -49,6 +49,8 @@ #include "ospf_apiclient.h" +DEFINE_MTYPE_STATIC(OSPFD, OSPF_APICLIENT, "OSPF-API client") + /* Backlog for listen */ #define BACKLOG 5 diff --git a/ospfclient/ospf_apiclient.h b/ospfclient/ospf_apiclient.h index 809861995..5a1de3b13 100644 --- a/ospfclient/ospf_apiclient.h +++ b/ospfclient/ospf_apiclient.h @@ -23,8 +23,6 @@ #ifndef _OSPF_APICLIENT_H #define _OSPF_APICLIENT_H -#define MTYPE_OSPF_APICLIENT MTYPE_TMP - /* Structure for the OSPF API client */ struct ospf_apiclient { |