changeset 708:6bc81ea50ab5

dl_pei.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 04:16:56 +0000
parents b111f8e4aef3
children bf58458efda0
files gsm-fw/g23m-gsm/dl/Makefile gsm-fw/g23m-gsm/dl/dl_pei.c
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/dl/Makefile	Fri Oct 03 04:08:59 2014 +0000
+++ b/gsm-fw/g23m-gsm/dl/Makefile	Fri Oct 03 04:16:56 2014 +0000
@@ -5,7 +5,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	dl_com.o dl_dcch0.o dl_dcch3.o dl_dph.o dl_drr.o dl_em.o
+OBJS=	dl_com.o dl_dcch0.o dl_dcch3.o dl_dph.o dl_drr.o dl_em.o dl_pei.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/dl/dl_pei.c	Fri Oct 03 04:08:59 2014 +0000
+++ b/gsm-fw/g23m-gsm/dl/dl_pei.c	Fri Oct 03 04:16:56 2014 +0000
@@ -22,9 +22,11 @@
 #ifndef DL_PEI_C
 #define DL_PEI_C
 
-#define ENTITY_DL
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
 
-
+#define ENTITY_DL
 
 /*==== INCLUDES ===================================================*/
 #include "typedefs.h"
@@ -71,8 +73,9 @@
 static T_MONITOR         dl_mon;
 
 /*==== FUNCTIONS ==================================================*/
-/* Please consider that the opc´s are not necessarily sorted in sequential order.
- * DL doesn´t use the normal technique to get the primitive from the table.
+/* Please consider that the opc's are not necessarily sorted
+ * in sequential order.
+ * DL doesn't use the normal technique to get the primitive from the table.
  * Instead it uses the direct search and compare:
  * for (i=0; i<n; i++, table++)
  *  if (table->opc EQ opc)