changeset 772:6791a13c0673

ss_ss.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Oct 2014 00:54:04 +0000
parents b5a4104c24a5
children bccd56f16a71
files gsm-fw/g23m-gsm/ss/Makefile gsm-fw/g23m-gsm/ss/ss_ss.c
diffstat 2 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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}
 
--- 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 */