mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-18 18:46:16 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user