dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@49816 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-01-07 19:00:36 +00:00
parent b218a25733
commit bfdb62e093
3 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h"
#include "asterisk/app.h"
static int base64_encode(struct ast_channel *chan, const const char *cmd, char *data,
static int base64_encode(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
if (ast_strlen_zero(data)) {
@ -50,7 +50,7 @@ static int base64_encode(struct ast_channel *chan, const const char *cmd, char *
return 0;
}
static int base64_decode(struct ast_channel *chan, const const char *cmd, char *data,
static int base64_decode(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
if (ast_strlen_zero(data)) {

View File

@ -47,7 +47,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astdb.h"
#include "asterisk/options.h"
static int blacklist_read(struct ast_channel *chan, const const char *cmd, char *data, char *buf, size_t len)
static int blacklist_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)
{
char blacklist[1];
int bl = 0;

View File

@ -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)