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_realtime.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_realtime.c')
-rw-r--r-- | funcs/func_realtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c index 4314c4e68..fa9d4a7e7 100644 --- a/funcs/func_realtime.c +++ b/funcs/func_realtime.c @@ -45,7 +45,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/utils.h" #include "asterisk/app.h" -static int function_realtime_read(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len) +static int function_realtime_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) { struct ast_variable *var, *head; struct ast_module_user *u; @@ -98,7 +98,7 @@ static int function_realtime_read(struct ast_channel *chan, char *cmd, char *dat return 0; } -static int function_realtime_write(struct ast_channel *chan, char *cmd, char *data, const char *value) +static int function_realtime_write(struct ast_channel *chan, const char *cmd, char *data, const char *value) { struct ast_module_user *u; int res = 0; |