[Asterisk-cvs] asterisk/codecs/gsm/src decode.c, 1.16,
1.17 long_term.c, 1.16, 1.17 lpc.c, 1.16, 1.17 preprocess.c,
1.16, 1.17 rpe.c, 1.16, 1.17 short_term.c, 1.16, 1.17
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Thu Apr 21 01:39:43 CDT 2005
- Previous message: [Asterisk-cvs] asterisk/include/asterisk acl.h, 1.11, 1.12 adsi.h,
1.7, 1.8 astobj.h, 1.11, 1.12 astosp.h, 1.2, 1.3 cdr.h, 1.22,
1.23 channel.h, 1.81, 1.82 chanvars.h, 1.5, 1.6 config.h, 1.19,
1.20 crypto.h, 1.5, 1.6 cvsid.h, 1.3, 1.4 dundi.h, 1.8,
1.9 enum.h, 1.4, 1.5 file.h, 1.22, 1.23 frame.h, 1.48,
1.49 indications.h, 1.3, 1.4 io.h, 1.6, 1.7 linkedlists.h,
1.11, 1.12 manager.h, 1.13, 1.14 monitor.h, 1.3, 1.4 pbx.h,
1.43, 1.44 rtp.h, 1.21, 1.22 say.h, 1.11, 1.12 translate.h,
1.7, 1.8 utils.h, 1.27, 1.28 vmodem.h, 1.18, 1.19
- Next message: [Asterisk-cvs] asterisk jitterbuf.c,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/codecs/gsm/src
In directory mongoose.digium.com:/tmp/cvs-serv7113/codecs/gsm/src
Modified Files:
decode.c long_term.c lpc.c preprocess.c rpe.c short_term.c
Log Message:
fix various compiler warnings
Index: decode.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/src/decode.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- decode.c 12 Feb 2003 13:59:14 -0000 1.16
+++ decode.c 21 Apr 2005 06:30:23 -0000 1.17
@@ -22,7 +22,6 @@
{
register int k;
register word msr = S->msr;
- register longword ltmp; /* for GSM_ADD */
register word tmp;
for (k = 160; k--; s++) {
Index: long_term.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/src/long_term.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- long_term.c 12 Feb 2003 13:59:14 -0000 1.16
+++ long_term.c 21 Apr 2005 06:30:23 -0000 1.17
@@ -852,7 +852,6 @@
*/
{
register int k;
- register longword ltmp;
# undef STEP
# define STEP(BP) \
@@ -921,7 +920,6 @@
* table 4.3b.
*/
{
- register longword ltmp; /* for ADD */
register int k;
word brp, drpp, Nr;
Index: lpc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/src/lpc.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- lpc.c 12 Feb 2003 13:59:14 -0000 1.16
+++ lpc.c 21 Apr 2005 06:30:23 -0000 1.17
@@ -211,7 +211,6 @@
{
register int i, m, n;
register word temp;
- register longword ltmp;
word ACF[9]; /* 0..8 */
word P[ 9]; /* 0..8 */
word K[ 9]; /* 2..8 */
@@ -319,7 +318,6 @@
)
{
register word temp;
- longword ltmp;
/* This procedure needs four tables; the following equations
Index: preprocess.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/src/preprocess.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- preprocess.c 12 Feb 2003 13:59:14 -0000 1.16
+++ preprocess.c 21 Apr 2005 06:30:23 -0000 1.17
@@ -46,7 +46,6 @@
word SO;
- longword ltmp; /* for ADD */
ulongword utmp; /* for L_ADD */
register int k = 160;
@@ -86,7 +85,10 @@
/* Execution of a 31 bv 16 bits multiplication
*/
{
- word msp, lsp;
+ word msp;
+#ifndef __GNUC__
+ word lsp;
+#endif
longword L_s2;
longword L_temp;
Index: rpe.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/src/rpe.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- rpe.c 12 Feb 2003 13:59:14 -0000 1.16
+++ rpe.c 21 Apr 2005 06:30:23 -0000 1.17
@@ -362,7 +362,6 @@
{
int i;
word temp, temp1, temp2, temp3;
- longword ltmp;
assert( mant >= 0 && mant <= 7 );
Index: short_term.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/gsm/src/short_term.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- short_term.c 12 Feb 2003 13:59:14 -0000 1.16
+++ short_term.c 21 Apr 2005 06:30:23 -0000 1.17
@@ -30,7 +30,6 @@
word * LARpp) /* out: decoded .. */
{
register word temp1 /* , temp2 */;
- register long ltmp; /* for GSM_ADD */
/* This procedure requires for efficient implementation
* two tables.
@@ -99,7 +98,6 @@
register word * LARp)
{
register int i;
- register longword ltmp;
for (i = 1; i <= 8; i++, LARp++, LARpp_j_1++, LARpp_j++) {
*LARp = GSM_ADD( SASR( *LARpp_j_1, 2 ), SASR( *LARpp_j, 2 ));
@@ -113,7 +111,6 @@
register word * LARp)
{
register int i;
- register longword ltmp;
for (i = 1; i <= 8; i++, LARpp_j_1++, LARpp_j++, LARp++) {
*LARp = GSM_ADD( SASR( *LARpp_j_1, 1), SASR( *LARpp_j, 1 ));
}
@@ -125,7 +122,6 @@
register word * LARp)
{
register int i;
- register longword ltmp;
for (i = 1; i <= 8; i++, LARpp_j_1++, LARpp_j++, LARp++) {
*LARp = GSM_ADD( SASR( *LARpp_j_1, 2 ), SASR( *LARpp_j, 2 ));
@@ -156,7 +152,6 @@
{
register int i;
register word temp;
- register longword ltmp;
for (i = 1; i <= 8; i++, LARp++) {
- Previous message: [Asterisk-cvs] asterisk/include/asterisk acl.h, 1.11, 1.12 adsi.h,
1.7, 1.8 astobj.h, 1.11, 1.12 astosp.h, 1.2, 1.3 cdr.h, 1.22,
1.23 channel.h, 1.81, 1.82 chanvars.h, 1.5, 1.6 config.h, 1.19,
1.20 crypto.h, 1.5, 1.6 cvsid.h, 1.3, 1.4 dundi.h, 1.8,
1.9 enum.h, 1.4, 1.5 file.h, 1.22, 1.23 frame.h, 1.48,
1.49 indications.h, 1.3, 1.4 io.h, 1.6, 1.7 linkedlists.h,
1.11, 1.12 manager.h, 1.13, 1.14 monitor.h, 1.3, 1.4 pbx.h,
1.43, 1.44 rtp.h, 1.21, 1.22 say.h, 1.11, 1.12 translate.h,
1.7, 1.8 utils.h, 1.27, 1.28 vmodem.h, 1.18, 1.19
- Next message: [Asterisk-cvs] asterisk jitterbuf.c,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list