summaryrefslogtreecommitdiff
path: root/res/res_clioriginate.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-01-18 22:17:31 +0000
committerRussell Bryant <russell@russellbryant.com>2006-01-18 22:17:31 +0000
commit6f71e1178e5e9efb90f66cf0d558ab226d2f93a7 (patch)
tree84b53711ba03f3f8d0b61dcace4eca78f6ef8127 /res/res_clioriginate.c
parentd57bc8a513f1371150a8e6b4a5c80bae88708c3f (diff)
constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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";