diff options
author | Joshua Colp <jcolp@digium.com> | 2007-01-07 19:00:36 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-01-07 19:00:36 +0000 |
commit | 3c1b9fc5089e22c951b3018d7430424651e43ed8 (patch) | |
tree | b32d4c2f78aad5e43c32f1fccb2945fa40fabf22 /funcs/func_callerid.c | |
parent | c4c2c546da7546a3ebd349cfd61e5ec27a3e2e12 (diff) |
One const, two const. Let's stick with everything else - one const. Plus older versions of GCC don't support double const either.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_callerid.c')
-rw-r--r-- | funcs/func_callerid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_callerid.c b/funcs/func_callerid.c index aefbf3e15..381fb4d6d 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, const const char *cmd, char *data, +static int callerid_read(struct ast_channel *chan, 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, const const char *cmd, char * return 0; } -static int callerid_write(struct ast_channel *chan, const const char *cmd, char *data, +static int callerid_write(struct ast_channel *chan, const char *cmd, char *data, const char *value) { if (!value) |