summaryrefslogtreecommitdiffstats
path: root/lib/memory_vty.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-02-11 17:12:44 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-19 22:31:08 +0200
commit7a13c923afdec8765f8c33e93ae5eee7dfc4dc11 (patch)
tree18ae4082d3c9e61384f6d8791a5e179b13e2f3d8 /lib/memory_vty.h
parent*: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs (diff)
downloadfrr-7a13c923afdec8765f8c33e93ae5eee7dfc4dc11.tar.xz
frr-7a13c923afdec8765f8c33e93ae5eee7dfc4dc11.zip
lib: clean/restore memory debugging functions
This adapts the dump-at-exit handler and removes the old leftover code. (Note the text in log_memtype_stderr was actually incorrect as the only caller in bgpd cleans up configuration before calling it, i.e. any remaining allocations are missing-cleanup bugs.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Acked-by: Vincent JARDIN <vincent.jardin@6wind.com> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/memory_vty.h')
-rw-r--r--lib/memory_vty.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/memory_vty.h b/lib/memory_vty.h
index 7aab01ee5..565a75aa9 100644
--- a/lib/memory_vty.h
+++ b/lib/memory_vty.h
@@ -24,7 +24,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "memory.h"
extern void memory_init (void);
-extern void log_memstats_stderr (const char *);
/* Human friendly string for given byte count */
#define MTYPE_MEMSTR_LEN 20