Index: cupl3.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/mp3/src/cupl3.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- cupl3.c 12 Feb 2003 13:59:14 -0000 1.1.1.1
+++ cupl3.c 19 Sep 2003 01:20:22 -0000 1.2
@@ -104,7 +104,7 @@
bitdat.bs_ptr_end = buf_end;
}
/*------------- get n bits from bitstream -------------*/
-int bitget_bits_used()
+int bitget_bits_used(void)
{
int n; /* compute bits used from last init call */
@@ -142,7 +142,7 @@
return x;
}
/*------------- get 1 bit from bitstream -------------*/
-unsigned int bitget_1bit()
+unsigned int bitget_1bit(void)
{
unsigned int x;
/*======================================================================*/
-static void gencoef() /* gen coef for N=32 */
+static void gencoef(void) /* gen coef for N=32 */
{
int p, n, i, k;
double t, pi;
@@ -125,8 +125,8 @@
}
}
/*------------------------------------------------------------*/
-WINCOEF *i_wincoef_addr();
-static void genwincoef_q() /* gen int window coefs from floating table */
+WINCOEF *i_wincoef_addr(void);
+static void genwincoef_q(void) /* gen int window coefs from floating table */
{
int i, j, k, m;
float x;
@@ -166,12 +166,11 @@
}
}
/*------------------------------------------------------------*/
-static void genwincoef() /* gen int window coefs from floating table */
+static void genwincoef(void) /* gen int window coefs from floating table */
{
int i;
float x;
WINCOEF *iwincoef;
- WINCOEF *i_wincoef_addr();
iwincoef = i_wincoef_addr();
@@ -186,7 +185,7 @@
}
}
/*------------------------------------------------------------*/
-void i_sbt_init()
+void i_sbt_init(void)
{
int i;
static int first_pass = 1;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum