FreeCalypso > hg > freecalypso-sw
changeset 693:59f088f893a5
cc_ffk.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 30 Sep 2014 01:56:15 +0000 |
parents | c1cda30fda52 |
children | 69f70acb17c9 |
files | gsm-fw/g23m-gsm/cc/Makefile gsm-fw/g23m-gsm/cc/cc_ffk.c |
diffstat | 2 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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}
--- 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