# HG changeset patch # User Mychaela Falconia # Date 1669396508 0 # Node ID 902bc4b64cc6fd8474c2d2d9e21fee6c55083913 # Parent 92dc7f0082a3e885615fa1581765753aea870311 libgsmefr: az_lsp.c compiles diff -r 92dc7f0082a3 -r 902bc4b64cc6 libgsmefr/Makefile --- a/libgsmefr/Makefile Fri Nov 25 16:38:54 2022 +0000 +++ b/libgsmefr/Makefile Fri Nov 25 17:15:08 2022 +0000 @@ -1,7 +1,7 @@ CC= gcc CFLAGS= -O2 -OBJS= agc.o autocorr.o basicop2.o dec_create.o enc_create.o frame2params.o \ - params2frame.o sid_class.o sid_insert.o tls_flags.o +OBJS= agc.o autocorr.o az_lsp.o basicop2.o dec_create.o enc_create.o \ + frame2params.o params2frame.o sid_class.o sid_insert.o tls_flags.o HDRS= basic_op.h cnst.h codec.h d_homing.h dec_state.h dtx.h e_homing.h \ enc_state.h gains_tb.h gsm_efr.h namespace.h no_count.h oper_32b.h \ sig_proc.h typedef.h vad.h diff -r 92dc7f0082a3 -r 902bc4b64cc6 libgsmefr/az_lsp.c --- a/libgsmefr/az_lsp.c Fri Nov 25 16:38:54 2022 +0000 +++ b/libgsmefr/az_lsp.c Fri Nov 25 17:15:08 2022 +0000 @@ -22,11 +22,14 @@ * ***********************************************************************/ +#include "gsm_efr.h" #include "typedef.h" +#include "namespace.h" #include "basic_op.h" #include "oper_32b.h" -#include "count.h" +#include "no_count.h" #include "cnst.h" +#include "sig_proc.h" #include "grid.tab" @@ -97,8 +100,8 @@ j = 0; test (); test (); - /* while ( (nf < M) && (j < grid_points) ) */ - while ((sub (nf, M) < 0) && (sub (j, grid_points) < 0)) + while ( (nf < M) && (j < grid_points) ) + /* while ((sub (nf, M) < 0) && (sub (j, grid_points) < 0)) */ { j++; xhigh = xlow; move16 ();