changeset 761:55a84763c417

sms_pei.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 11 Oct 2014 23:00:04 +0000
parents 2b438f89bb62
children 5767cb509546
files gsm-fw/g23m-gsm/sms/Makefile gsm-fw/g23m-gsm/sms/sms_pei.c
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 22:53:54 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 23:00:04 2014 +0000
@@ -5,7 +5,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o
+OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/sms/sms_pei.c	Sat Oct 11 22:53:54 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/sms_pei.c	Sat Oct 11 23:00:04 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef SMS_PEI_C
 #define SMS_PEI_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_SMS
 
 /*==== INCLUDES ===================================================*/
@@ -358,7 +362,7 @@
       return PEI_ERROR;
   }
 #endif /* TI_PS_HCOMM_CHANGE */
-  #if defined (GPRS)
+#if defined (GPRS)
   /*
    * Open LLC for GPRS GSMS handling
    */
@@ -375,7 +379,7 @@
     if ((hCommGMM = vsi_c_open (VSI_CALLER GMM_NAME)) < VSI_OK)
       return PEI_ERROR;
   }
-  #endif /* GPRS */
+#endif /* GPRS */
 
   /*
    * Initialize data base
@@ -491,7 +495,7 @@
   char    * keyw;
   char    * val [10];
 
- GET_INSTANCE_DATA;
+  GET_INSTANCE_DATA;
 
   TRACE_FUNCTION ("pei_config()");