# HG changeset patch # User Michael Spacefalcon # Date 1412042175 0 # Node ID 59f088f893a53af4cab9d421f74fc8d87feeee8b # Parent c1cda30fda5269d6103e3b94d056e9e79ece2b00 cc_ffk.c compiles diff -r c1cda30fda52 -r 59f088f893a5 gsm-fw/g23m-gsm/cc/Makefile --- a/gsm-fw/g23m-gsm/cc/Makefile Tue Sep 30 01:38:39 2014 +0000 +++ b/gsm-fw/g23m-gsm/cc/Makefile Tue Sep 30 01:56:15 2014 +0000 @@ -5,7 +5,7 @@ CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ -I../../cdginc -OBJS= cc_act.o cc_cfk.o cc_csf.o cc_em.o cc_est.o +OBJS= cc_act.o cc_cfk.o cc_csf.o cc_em.o cc_est.o cc_ffk.o all: ${OBJS} diff -r c1cda30fda52 -r 59f088f893a5 gsm-fw/g23m-gsm/cc/cc_ffk.c --- a/gsm-fw/g23m-gsm/cc/cc_ffk.c Tue Sep 30 01:38:39 2014 +0000 +++ b/gsm-fw/g23m-gsm/cc/cc_ffk.c Tue Sep 30 01:56:15 2014 +0000 @@ -22,6 +22,10 @@ #ifndef CC_FFK_C #define CC_FFK_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_CC /*==== INCLUDES ===================================================*/ @@ -220,7 +224,7 @@ #if 0 /* * this is a (dirty) "trick" to detect that the cause IE was not present - * although mandatory (for some messages): value 0 is reserved, i.e. it is not + * although mandatory (for some messages): value 0 is reserved, i.e. it is not * expected that it will be sent by a network; CCD/the frame ensures that the * memory contents is 0 which will be seen as value if the cause IE was not present */ @@ -443,8 +447,8 @@ switch (cc_data->error) { - case M_CC_CAUSE_INVALID_MAND_INFO: - break; + case M_CC_CAUSE_INVALID_MAND_INFO: + break; case M_CC_CAUSE_COND_INFO_ELEM: cc_data->error_count = 0; @@ -486,9 +490,9 @@ cc_err EQ M_CC_CAUSE_MESSAGE_TYPE_NOT_IMPLEM OR cc_err EQ M_CC_CAUSE_COND_INFO_ELEM OR cc_err EQ M_CC_CAUSE_SERVICE_NOT_IMPLEM ) - return (TRUE); + return (TRUE); else - return (FALSE); + return (FALSE); } #endif