# HG changeset patch # User Michael Spacefalcon # Date 1413075244 0 # Node ID 6791a13c06733855dfd75907289275ed9d60a420 # Parent b5a4104c24a531e6ba767c374d26cb96e00743be ss_ss.c compiles diff -r b5a4104c24a5 -r 6791a13c0673 gsm-fw/g23m-gsm/ss/Makefile --- a/gsm-fw/g23m-gsm/ss/Makefile Sun Oct 12 00:49:49 2014 +0000 +++ b/gsm-fw/g23m-gsm/ss/Makefile Sun Oct 12 00:54:04 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 ss_for.o ss_pei.o +OBJS= ss_csf.o ss_em.o ss_for.o ss_pei.o ss_ss.o all: ${OBJS} diff -r b5a4104c24a5 -r 6791a13c0673 gsm-fw/g23m-gsm/ss/ss_ss.c --- a/gsm-fw/g23m-gsm/ss/ss_ss.c Sun Oct 12 00:49:49 2014 +0000 +++ b/gsm-fw/g23m-gsm/ss/ss_ss.c Sun Oct 12 00:54:04 2014 +0000 @@ -22,6 +22,10 @@ #ifndef SS_SS_C #define SS_SS_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_SS /*==== INCLUDES ===================================================*/ @@ -140,7 +144,7 @@ switch (GET_SS_STATE(ss_data->ss_state,ss_data->ti)) { case SS_CONNECTION_PENDING: - PFREE (P2D(ss_data->prim[ss_data->ti])); + PFREE (P2D(ss_data->prim[ss_data->ti])); ss_data->prim[ss_data->ti] = NULL; /*FALLTHROUGH*/ case SS_CONNECTED: @@ -162,7 +166,6 @@ PSENDX (MM, mmss_release_req); } - MM_EM_MM_CONNECTION_ABORTED; break; @@ -265,7 +268,7 @@ switch (GET_SS_STATE(ss_data->ss_state,ss_data->ti)) { case SS_CONNECTION_PENDING: - PFREE (P2D(ss_data->prim[ss_data->ti])); + PFREE (P2D(ss_data->prim[ss_data->ti])); ss_data->prim[ss_data->ti] = NULL; MM_EM_MM_CONNECTION_FAILED; @@ -523,7 +526,6 @@ } MM_EM_MM_RELEASE_COMPLETE_RECEIVED; - } break; @@ -755,8 +757,8 @@ ss_err EQ CAUSE_MESSAGE_TYPE_NOT_IMPLEM OR ss_err EQ ERR_INVALID_MID OR ss_err EQ CAUSE_SERVICE_NOT_IMPLEM ) - return (TRUE); + return (TRUE); else - return (FALSE); + return (FALSE); } #endif /* #ifndef SS_SS_C */