# HG changeset patch # User Michael Spacefalcon # Date 1413068752 0 # Node ID 5767cb509546d6257f84b9a9dadb35bf9820e807 # Parent 55a84763c4171f53bc594a3ee8ead145ced5b058 sms_rl.c compiles diff -r 55a84763c417 -r 5767cb509546 gsm-fw/g23m-gsm/sms/Makefile --- a/gsm-fw/g23m-gsm/sms/Makefile Sat Oct 11 23:00:04 2014 +0000 +++ b/gsm-fw/g23m-gsm/sms/Makefile Sat Oct 11 23:05:52 2014 +0000 @@ -5,7 +5,7 @@ CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ -I../../cdginc -OBJS= sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o +OBJS= sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o sms_rl.o all: ${OBJS} diff -r 55a84763c417 -r 5767cb509546 gsm-fw/g23m-gsm/sms/sms_rl.c --- a/gsm-fw/g23m-gsm/sms/sms_rl.c Sat Oct 11 23:00:04 2014 +0000 +++ b/gsm-fw/g23m-gsm/sms/sms_rl.c Sat Oct 11 23:05:52 2014 +0000 @@ -22,6 +22,10 @@ #ifndef SMS_RL_C #define SMS_RL_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_SMS /*==== INCLUDES ===================================================*/ @@ -248,7 +252,7 @@ * This is done for Retransmission for the causes * listed in the table 8.4/3gPP TS 24.011(Part 1) */ - if (SMS_INST.tl_retx < TL_MAX_RETANS) + if (SMS_INST.tl_retx < TL_MAX_RETANS) { /* Check whether the cause value satisfies the one for retransmission * listed in the table 8.4/3gPP TS 24.011(Part 1) @@ -309,7 +313,6 @@ } break; - default: TRACE_FUNCTION ("rl_data_ind(): default");