changeset 696:7204091241d0

cc_rel.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 30 Sep 2014 02:18:45 +0000
parents 698a036a023d
children 543f7afdf79c
files gsm-fw/g23m-gsm/cc/Makefile gsm-fw/g23m-gsm/cc/cc_rel.c
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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}
 
--- 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;
         }