changeset 703:d6a9b9fce09e

dl_dcch0.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 03:36:02 +0000
parents 900be07de4e8
children 3b6cc1a90ef8
files gsm-fw/g23m-gsm/dl/Makefile gsm-fw/g23m-gsm/dl/dl_dcch0.c
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/dl/Makefile	Fri Oct 03 03:25:57 2014 +0000
+++ b/gsm-fw/g23m-gsm/dl/Makefile	Fri Oct 03 03:36:02 2014 +0000
@@ -5,7 +5,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	dl_com.o
+OBJS=	dl_com.o dl_dcch0.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/dl/dl_dcch0.c	Fri Oct 03 03:25:57 2014 +0000
+++ b/gsm-fw/g23m-gsm/dl/dl_dcch0.c	Fri Oct 03 03:36:02 2014 +0000
@@ -23,6 +23,10 @@
 #ifndef DL_DCCH0_C
 #define DL_DCCH0_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_DL
 
 /*==== INCLUDES ===================================================*/
@@ -43,7 +47,7 @@
 /*==== EXPORT =====================================================*/
 /*==== PRIVAT =====================================================*/
 LOCAL void dcch0_resume_reconnect_req (T_PRIM                 * prim,
-                                        U8                       ch_type);
+                                       U8                       ch_type);
 /*==== VARIABLES ==================================================*/
 /*==== FUNCTIONS ==================================================*/
 /*
@@ -122,9 +126,9 @@
     }
     else
     {/* finishing delay, send SABM with the current (next) uplink opportunity */
-    #if !defined(DL_TRACE_ENABLED)
+      #if !defined(DL_TRACE_ENABLED)
         TRACE_EVENT ("delayed SABM");
-    #endif  /* ! DL_TRACE_ENABLED*/
+      #endif  /* ! DL_TRACE_ENABLED*/
       dl_data->dcch0_sabm_flag = NOT_PRESENT_8BIT;
       send_sabm = TRUE;
       DL_OFFLINE_TRACE (TRACE_DL_EVENT, C_DCCH0, pcch->ch_type, "send delayed SABM");
@@ -546,5 +550,3 @@
 }
 
 #endif /* !DL_DCCH0_C */
-
-