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:
Mark Spencer
2003-03-30 22:55:42 +00:00
parent a987ef1163
commit e6918cb42e
12 changed files with 569 additions and 34 deletions

View File

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