aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_devstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_devstate.c')
-rw-r--r--funcs/func_devstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_devstate.c b/funcs/func_devstate.c
index a25638867..6e4a674d0 100644
--- a/funcs/func_devstate.c
+++ b/funcs/func_devstate.c
@@ -255,8 +255,8 @@ static char *handle_cli_devstate_change(struct ast_cli_entry *e, int cmd, struct
return NULL;
case CLI_GENERATE:
{
- static char * const cmds[] = { "UNKNOWN", "NOT_INUSE", "INUSE", "BUSY",
- "UNAVAILABLE", "RINGING", "RINGINUSE", "ONHOLD", NULL };
+ static const char * const cmds[] = { "UNKNOWN", "NOT_INUSE", "INUSE", "BUSY",
+ "UNAVAILABLE", "RINGING", "RINGINUSE", "ONHOLD", NULL };
if (a->pos == e->args + 1)
return ast_cli_complete(a->word, cmds, a->n);