summaryrefslogtreecommitdiff
path: root/main/astmm.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:17:39 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:17:39 +0000
commit2b55678e1f559bd1ecd81ba30106b253f3acd1fc (patch)
treef363c53cb57dcc4f7096ee473679d70a1bf1dae7 /main/astmm.c
parent8eece0894350afeeabac14b1c94ebcdaf038e301 (diff)
Remove deprecated CLI apps from the core
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/astmm.c')
-rw-r--r--main/astmm.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/main/astmm.c b/main/astmm.c
index 55c80f618..d72c22976 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -404,24 +404,14 @@ static char show_memory_summary_help[] =
" Summarizes heap memory allocations by file, or optionally\n"
"by function, if a file is specified\n";
-static struct ast_cli_entry cli_show_memory_allocations_deprecated = {
- { "show", "memory", "allocations", NULL },
- handle_show_memory, NULL,
- NULL };
-
-static struct ast_cli_entry cli_show_memory_summary_deprecated = {
- { "show", "memory", "summary", NULL },
- handle_show_memory_summary, NULL,
- NULL };
-
static struct ast_cli_entry cli_memory[] = {
{ { "memory", "show", "allocations", NULL },
handle_show_memory, "Display outstanding memory allocations",
- show_memory_help, NULL, &cli_show_memory_allocations_deprecated },
+ show_memory_help },
{ { "memory", "show", "summary", NULL },
handle_show_memory_summary, "Summarize outstanding memory allocations",
- show_memory_summary_help, NULL, &cli_show_memory_summary_deprecated },
+ show_memory_summary_help },
};
void __ast_mm_init(void)