# HG changeset patch # User Michael Spacefalcon # Date 1413074784 0 # Node ID 20a2e453564c599b11cc14f07d1857522f461b3f # Parent 6a0a7c273b3dac6bf6459922c8aae4a0a33e48a1 ss_for.c compiles diff -r 6a0a7c273b3d -r 20a2e453564c gsm-fw/g23m-gsm/ss/Makefile --- a/gsm-fw/g23m-gsm/ss/Makefile Sun Oct 12 00:42:45 2014 +0000 +++ b/gsm-fw/g23m-gsm/ss/Makefile Sun Oct 12 00:46:24 2014 +0000 @@ -5,7 +5,7 @@ CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ -I../../cdginc -OBJS= ss_csf.o ss_em.o +OBJS= ss_csf.o ss_em.o ss_for.o all: ${OBJS} diff -r 6a0a7c273b3d -r 20a2e453564c gsm-fw/g23m-gsm/ss/ss_for.c --- a/gsm-fw/g23m-gsm/ss/ss_for.c Sun Oct 12 00:42:45 2014 +0000 +++ b/gsm-fw/g23m-gsm/ss/ss_for.c Sun Oct 12 00:46:24 2014 +0000 @@ -22,6 +22,10 @@ #ifndef SS_FOR_C #define SS_FOR_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_SS /*==== INCLUDES ===================================================*/ @@ -172,7 +176,7 @@ case ERR_COMPREH_REQUIRED: /* comprehension required */ case ERR_MAND_ELEM_MISS: /* Mandatory elements missing */ - case ERR_MSG_LEN: /* Message Length exceeds its limit */ + case ERR_MSG_LEN: /* Message Length exceeds its limit */ /*TS TS 24.010 Section 3.7.5 */ ss_data->error = CAUSE_INVALID_MAND_INFO; break; @@ -218,15 +222,15 @@ switch (_decodedMsg[0]) { case D_SS_FACILITY: - ss_d_ss_facility (); + ss_d_ss_facility (); msg_type = "D_SS_FACILITY"; break; case D_SS_REGISTER: - ss_d_ss_register (); + ss_d_ss_register (); msg_type = "D_SS_REGISTER"; break; case B_SS_REL_COMP: - ss_b_ss_rel_comp (); + ss_b_ss_rel_comp (); msg_type = "B_SS_REL_COMP"; break; default: @@ -259,7 +263,6 @@ } - /* * ------------------------------------------------------------------- * PRIMITIVE Processing functions @@ -291,7 +294,7 @@ ss_data->ti += ((ss_data->ti > 7) ? -8 : 8); - for_mmss_establish_n_data_ind((T_PRIM *)D2P(mmss_establish_ind)); + for_mmss_establish_n_data_ind((T_PRIM *)D2P(mmss_establish_ind)); } /* @@ -318,7 +321,7 @@ ss_data->ti += ((ss_data->ti > 7) ? -8 : 8); - for_mmss_establish_n_data_ind((T_PRIM *)D2P(mmss_data_ind)); + for_mmss_establish_n_data_ind((T_PRIM *)D2P(mmss_data_ind)); } /*