aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/gsm/src/preprocess.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-21 06:30:23 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-21 06:30:23 +0000
commitbef71744f4685c36a2c2db1af2d9d97a1abca305 (patch)
tree32ef323c5510fa3321c859182f59030f2c675829 /codecs/gsm/src/preprocess.c
parent31e8dcf4fe91466bf35a3f6d4de2bd714c43b288 (diff)
fix various compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5491 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/gsm/src/preprocess.c')
-rwxr-xr-xcodecs/gsm/src/preprocess.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/codecs/gsm/src/preprocess.c b/codecs/gsm/src/preprocess.c
index 83c3f6a56..03746f9c3 100755
--- a/codecs/gsm/src/preprocess.c
+++ b/codecs/gsm/src/preprocess.c
@@ -46,7 +46,6 @@ void Gsm_Preprocess P3((S, s, so),
word SO;
- longword ltmp; /* for ADD */
ulongword utmp; /* for L_ADD */
register int k = 160;
@@ -86,7 +85,10 @@ void Gsm_Preprocess P3((S, s, so),
/* Execution of a 31 bv 16 bits multiplication
*/
{
- word msp, lsp;
+ word msp;
+#ifndef __GNUC__
+ word lsp;
+#endif
longword L_s2;
longword L_temp;