[Asterisk-cvs] asterisk/codecs codec_g723_1.c,1.4,1.5
markster at lists.digium.com
markster at lists.digium.com
Fri Sep 26 21:44:26 CDT 2003
Update of /usr/cvsroot/asterisk/codecs
In directory mongoose.digium.com:/tmp/cvs-serv19473/codecs
Modified Files:
codec_g723_1.c
Log Message:
Fix various compiler warnings (bug #322)
Index: codec_g723_1.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_g723_1.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- codec_g723_1.c 13 Aug 2003 15:25:16 -0000 1.4
+++ codec_g723_1.c 27 Sep 2003 02:45:37 -0000 1.5
@@ -94,7 +94,7 @@
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 @@
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 @@
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 @@
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 @@
return res;
}
-char *key()
+char *key(void)
{
return ASTERISK_GPL_KEY;
}
More information about the svn-commits
mailing list