changeset 770:20a2e453564c

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