aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_clioriginate.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-18 22:17:31 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-18 22:17:31 +0000
commitc6643537f1a978097034de7ce33dcd40530da1c8 (patch)
tree84b53711ba03f3f8d0b61dcace4eca78f6ef8127 /res/res_clioriginate.c
parent20dede9dcf4608236c70acd8d3ce544123d3ce9a (diff)
constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_clioriginate.c')
-rw-r--r--res/res_clioriginate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c
index e325cc3e7..56e92d96a 100644
--- a/res/res_clioriginate.c
+++ b/res/res_clioriginate.c
@@ -64,7 +64,7 @@ static char orig_help[] =
"used. If no extension is given, the 's' extension will be used.\n";
static int handle_orig(int fd, int argc, char *argv[]);
-static char *complete_orig(char *line, char *word, int pos, int state);
+static char *complete_orig(const char *line, const char *word, int pos, int state);
struct ast_cli_entry cli_orig = { { "originate", NULL }, handle_orig, "Originate a call", orig_help, complete_orig };
@@ -144,7 +144,7 @@ static int handle_orig(int fd, int argc, char *argv[])
return res;
}
-static char *complete_orig(char *line, char *word, int pos, int state)
+static char *complete_orig(const char *line, const char *word, int pos, int state)
{
int wordlen;
char *app = "application";