summaryrefslogtreecommitdiff
path: root/funcs/func_channel.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-01-06 00:13:33 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-01-06 00:13:33 +0000
commit37182c873e93244ae1181130be60e0de2b209ed4 (patch)
tree774e467428b4c8e37cd6b282ee0b287d0e10b525 /funcs/func_channel.c
parent4a6ed271f505fcc027cc94a92737f29f83aff153 (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_channel.c')
-rw-r--r--funcs/func_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index cbaab0572..77777a549 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -59,7 +59,7 @@ char *transfercapability_table[0x20] = {
"3K1AUDIO", "DIGITAL_W_TONES", "UNK", "UNK", "UNK", "UNK", "UNK", "UNK",
"VIDEO", "UNK", "UNK", "UNK", "UNK", "UNK", "UNK", "UNK", };
-static int func_channel_read(struct ast_channel *chan, char *function,
+static int func_channel_read(struct ast_channel *chan, const char *function,
char *data, char *buf, size_t len)
{
int ret = 0;
@@ -100,7 +100,7 @@ static int func_channel_read(struct ast_channel *chan, char *function,
return ret;
}
-static int func_channel_write(struct ast_channel *chan, char *function,
+static int func_channel_write(struct ast_channel *chan, const char *function,
char *data, const char *value)
{
int ret = 0;