mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
core: Remove disabled code.
handle_quit has been disabled since 2003, remove it. Change-Id: Idc3aaa6c81676160547078f9b71e8aa43de2db18
This commit is contained in:
@@ -2466,16 +2466,6 @@ static char *handle_version(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
|
|||||||
return CLI_SUCCESS;
|
return CLI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
static int handle_quit(int fd, int argc, char *argv[])
|
|
||||||
{
|
|
||||||
if (argc != 1)
|
|
||||||
return RESULT_SHOWUSAGE;
|
|
||||||
quit_handler(0, SHUTDOWN_NORMAL, 0);
|
|
||||||
return RESULT_SUCCESS;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static char *handle_stop_now(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
|
static char *handle_stop_now(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
|
||||||
{
|
{
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
|
Reference in New Issue
Block a user