mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Remove deprecated CLI apps from the core
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										14
									
								
								main/astmm.c
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user