mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
Merge hint patch, add new variables, and misc. PBX cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -58,7 +58,7 @@ struct ast_translator_pvt {
|
||||
|
||||
#define speex_coder_pvt ast_translator_pvt
|
||||
|
||||
static struct ast_translator_pvt *lintospeex_new()
|
||||
static struct ast_translator_pvt *lintospeex_new(void)
|
||||
{
|
||||
struct speex_coder_pvt *tmp;
|
||||
tmp = malloc(sizeof(struct speex_coder_pvt));
|
||||
@@ -77,7 +77,7 @@ static struct ast_translator_pvt *lintospeex_new()
|
||||
return tmp;
|
||||
}
|
||||
|
||||
static struct ast_translator_pvt *speextolin_new()
|
||||
static struct ast_translator_pvt *speextolin_new(void)
|
||||
{
|
||||
struct speex_coder_pvt *tmp;
|
||||
tmp = malloc(sizeof(struct speex_coder_pvt));
|
||||
@@ -95,7 +95,7 @@ static struct ast_translator_pvt *speextolin_new()
|
||||
return tmp;
|
||||
}
|
||||
|
||||
static struct ast_frame *lintospeex_sample()
|
||||
static struct ast_frame *lintospeex_sample(void)
|
||||
{
|
||||
static struct ast_frame f;
|
||||
f.frametype = AST_FRAME_VOICE;
|
||||
@@ -110,7 +110,7 @@ static struct ast_frame *lintospeex_sample()
|
||||
return &f;
|
||||
}
|
||||
|
||||
static struct ast_frame *speextolin_sample()
|
||||
static struct ast_frame *speextolin_sample(void)
|
||||
{
|
||||
static struct ast_frame f;
|
||||
f.frametype = AST_FRAME_VOICE;
|
||||
|
Reference in New Issue
Block a user