aboutsummaryrefslogtreecommitdiffstats
path: root/main/astmm.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 21:17:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 21:17:39 +0000
commit33d8fe4c3e3958f1be6b9587ce419f5b8eaae728 (patch)
treef363c53cb57dcc4f7096ee473679d70a1bf1dae7 /main/astmm.c
parenta8a88e0f99de4ad1809685f6df832d71fbb22cfa (diff)
Remove deprecated CLI apps from the core
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43449 f38db490-d61c-443f-a65b-d21fe96a405b
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)