diff options
| author | David Lamparter <equinox@diac24.net> | 2021-03-22 18:53:23 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-03-22 18:53:23 +0100 |
| commit | c7479286aef294af8fb13c7690e4ff93fc8f8a1e (patch) | |
| tree | 41de50621cc77d01b10e3fdb7717047f973102db /pathd/path_pcep_lib.c | |
| parent | b4216e2c6681fabb755b814f8304f37cea0d235b (diff) | |
pathd: kill *_memory.[ch]
Ouch, MTYPE_PCEP is used in 81 places :(
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pathd/path_pcep_lib.c')
| -rw-r--r-- | pathd/path_pcep_lib.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pathd/path_pcep_lib.c b/pathd/path_pcep_lib.c index 1d2f25889e..e9d699de47 100644 --- a/pathd/path_pcep_lib.c +++ b/pathd/path_pcep_lib.c @@ -18,15 +18,18 @@ #include <zebra.h> +#include "memory.h" + #include <debug.h> #include "pceplib/pcep_utils_counters.h" #include "pceplib/pcep_timers.h" #include "pathd/path_errors.h" -#include "pathd/path_memory.h" #include "pathd/path_pcep.h" #include "pathd/path_pcep_lib.h" #include "pathd/path_pcep_debug.h" -#include "pathd/path_pcep_memory.h" + +DEFINE_MTYPE_STATIC(PATHD, PCEPLIB_INFRA, "PCEPlib Infrastructure"); +DEFINE_MTYPE_STATIC(PATHD, PCEPLIB_MESSAGES, "PCEPlib PCEP Messages"); #define CLASS_TYPE(CLASS, TYPE) (((CLASS) << 16) | (TYPE)) #define DEFAULT_LSAP_SETUP_PRIO 4 |
