diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2007-01-06 00:13:33 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2007-01-06 00:13:33 +0000 |
commit | 37182c873e93244ae1181130be60e0de2b209ed4 (patch) | |
tree | 774e467428b4c8e37cd6b282ee0b287d0e10b525 /funcs/func_cut.c | |
parent | 4a6ed271f505fcc027cc94a92737f29f83aff153 (diff) |
finish const-ifying ast_func_read()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_cut.c')
-rw-r--r-- | funcs/func_cut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_cut.c b/funcs/func_cut.c index a8b8c8152..2f488a31d 100644 --- a/funcs/func_cut.c +++ b/funcs/func_cut.c @@ -208,7 +208,7 @@ static int cut_internal(struct ast_channel *chan, char *data, char *buffer, size return 0; } -static int acf_sort_exec(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len) +static int acf_sort_exec(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) { struct ast_module_user *u; int ret = -1; @@ -234,7 +234,7 @@ static int acf_sort_exec(struct ast_channel *chan, char *cmd, char *data, char * return ret; } -static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len) +static int acf_cut_exec(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) { int ret = -1; struct ast_module_user *u; |