diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-27 02:45:37 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-27 02:45:37 +0000 |
commit | 9870b2521b30fb68be98596cdb8d4bfb62840702 (patch) | |
tree | 96fcf03c337e2c22cb66512afb6f102424b0d55e /codecs/codec_g723_1.c | |
parent | 9f2fba7fb1d2d024ab4fb67c3adcb24031c1e88e (diff) |
Fix various compiler warnings (bug #322)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1570 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_g723_1.c')
-rwxr-xr-x | codecs/codec_g723_1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/codecs/codec_g723_1.c b/codecs/codec_g723_1.c index 423d24695..3e96ad65f 100755 --- a/codecs/codec_g723_1.c +++ b/codecs/codec_g723_1.c @@ -94,7 +94,7 @@ struct g723_decoder_pvt { int tail; }; -static struct ast_translator_pvt *g723tolin_new() +static struct ast_translator_pvt *g723tolin_new(void) { struct g723_decoder_pvt *tmp; tmp = malloc(sizeof(struct g723_decoder_pvt)); @@ -108,7 +108,7 @@ static struct ast_translator_pvt *g723tolin_new() return (struct ast_translator_pvt *)tmp; } -static struct ast_frame *lintog723_sample() +static struct ast_frame *lintog723_sample(void) { static struct ast_frame f; f.frametype = AST_FRAME_VOICE; @@ -123,7 +123,7 @@ static struct ast_frame *lintog723_sample() return &f; } -static struct ast_frame *g723tolin_sample() +static struct ast_frame *g723tolin_sample(void) { static struct ast_frame f; f.frametype = AST_FRAME_VOICE; @@ -138,7 +138,7 @@ static struct ast_frame *g723tolin_sample() return &f; } -static struct ast_translator_pvt *lintog723_new() +static struct ast_translator_pvt *lintog723_new(void) { struct g723_encoder_pvt *tmp; tmp = malloc(sizeof(struct g723_encoder_pvt)); @@ -396,7 +396,7 @@ int usecount(void) return res; } -char *key() +char *key(void) { return ASTERISK_GPL_KEY; } |