finish const-ifying ast_func_read()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2007-01-06 00:13:33 +00:00
parent 4a6ed271f5
commit 37182c873e
27 changed files with 67 additions and 67 deletions

View File

@@ -50,7 +50,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
static char *synopsis = "Syntax: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])\n";
static int function_enum(struct ast_channel *chan, char *cmd, char *data,
static int function_enum(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
AST_DECLARE_APP_ARGS(args,
@@ -132,7 +132,7 @@ static struct ast_custom_function enum_function = {
.read = function_enum,
};
static int function_txtcidname(struct ast_channel *chan, char *cmd,
static int function_txtcidname(struct ast_channel *chan, const char *cmd,
char *data, char *buf, size_t len)
{
int res;