From 781c168b0702cd404406ab99a137862659fe8c60 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Sat, 6 Jan 2007 00:13:33 +0000 Subject: finish const-ifying ast_func_read() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49741 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_callerid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'funcs/func_callerid.c') diff --git a/funcs/func_callerid.c b/funcs/func_callerid.c index 6621d4d7c..aefbf3e15 100644 --- a/funcs/func_callerid.c +++ b/funcs/func_callerid.c @@ -38,7 +38,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/options.h" #include "asterisk/callerid.h" -static int callerid_read(struct ast_channel *chan, char *cmd, char *data, +static int callerid_read(struct ast_channel *chan, const const char *cmd, char *data, char *buf, size_t len) { char *opt = data; @@ -96,7 +96,7 @@ static int callerid_read(struct ast_channel *chan, char *cmd, char *data, return 0; } -static int callerid_write(struct ast_channel *chan, char *cmd, char *data, +static int callerid_write(struct ast_channel *chan, const const char *cmd, char *data, const char *value) { if (!value) -- cgit v1.2.3