mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 04:43:50 +00:00
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
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user