# HG changeset patch # User Michael Spacefalcon # Date 1412043525 0 # Node ID 7204091241d0ca1ec06cdcb61d71ac5b8ca6ad08 # Parent 698a036a023d4a40d076f863639946577457cc95 cc_rel.c compiles diff -r 698a036a023d -r 7204091241d0 gsm-fw/g23m-gsm/cc/Makefile --- a/gsm-fw/g23m-gsm/cc/Makefile Tue Sep 30 02:14:08 2014 +0000 +++ b/gsm-fw/g23m-gsm/cc/Makefile Tue Sep 30 02:18:45 2014 +0000 @@ -5,7 +5,8 @@ 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 cc_ffk.o cc_for.o cc_pei.o +OBJS= cc_act.o cc_cfk.o cc_csf.o cc_em.o cc_est.o cc_ffk.o cc_for.o cc_pei.o \ + cc_rel.o all: ${OBJS} diff -r 698a036a023d -r 7204091241d0 gsm-fw/g23m-gsm/cc/cc_rel.c --- a/gsm-fw/g23m-gsm/cc/cc_rel.c Tue Sep 30 02:14:08 2014 +0000 +++ b/gsm-fw/g23m-gsm/cc/cc_rel.c Tue Sep 30 02:18:45 2014 +0000 @@ -22,6 +22,10 @@ #ifndef CC_REL_C #define CC_REL_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_CC /*==== INCLUDES ===================================================*/ @@ -725,7 +729,9 @@ case M_CC_CAUSE_INVALID_MAND_INFO: case M_CC_CAUSE_COND_INFO_ELEM: { - USHORT curr_cause; /* local variable to avoid repeated CAUSE_MAKEs for the same cause */ + /* local variable to avoid repeated CAUSE_MAKEs + for the same cause */ + USHORT curr_cause; curr_cause = CAUSE_MAKE(DEFBY_STD, ORIGSIDE_MS, MNCC_CC_ORIGINATING_ENTITY, @@ -750,9 +756,9 @@ cc_mncc_release_ind ((T_PRIM *)D2P(release)); } cc_build_release_complete (rel_com, CAUSE_MAKE(DEFBY_CONDAT, - ORIGSIDE_MS, - MNCC_CC_ORIGINATING_ENTITY, - NOT_PRESENT_8BIT)); + ORIGSIDE_MS, + MNCC_CC_ORIGINATING_ENTITY, + NOT_PRESENT_8BIT)); break; }