diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-06 00:13:33 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-06 00:13:33 +0000 |
commit | 781c168b0702cd404406ab99a137862659fe8c60 (patch) | |
tree | 774e467428b4c8e37cd6b282ee0b287d0e10b525 /funcs/func_channel.c | |
parent | 28749c05892755f39a021496358c88fd1c4769b3 (diff) |
finish const-ifying ast_func_read()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49741 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_channel.c')
-rw-r--r-- | funcs/func_channel.c | 4 |
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; |