changeset 764:2d8cb1c85e01

sms_tlf.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Oct 2014 00:12:34 +0000
parents 6a5dca88b619
children 75595941b786
files gsm-fw/g23m-gsm/sms/Makefile gsm-fw/g23m-gsm/sms/sms_tlf.c
diffstat 2 files changed, 15 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/sms/Makefile	Sat Oct 11 23:09:23 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/Makefile	Sun Oct 12 00:12:34 2014 +0000
@@ -5,7 +5,8 @@
 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 sms_pei.o sms_rl.o sms_time.o
+OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o sms_rl.o sms_time.o \
+	sms_tlf.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/sms/sms_tlf.c	Sat Oct 11 23:09:23 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/sms_tlf.c	Sun Oct 12 00:12:34 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef SMS_TLF_C
 #define SMS_TLF_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_SMS
 
 /*==== INCLUDES ===================================================*/
@@ -845,7 +849,6 @@
 }
 
 
-
 /*
 +--------------------------------------------------------------------+
 | PROJECT : GSM-PS (8410)       MODULE  : SMS_TLF                    |
@@ -2847,7 +2850,6 @@
 
 GLOBAL void tl_sms_memo_resume (void)
 {
-
   TRACE_FUNCTION ("tl_sms_memo_resume()");
 
   /* Implements Measure# 14 */
@@ -3055,15 +3057,15 @@
 //TISH, patch for ASTec32699,OMAPS00135322
 //start
       if (ccd_result NEQ ccdWarning)
-      	{
-     /*
-      * give up
-      */
-      // CCD_END;
-      MFREE (sim_pdu);
-      MFREE (submit);
-      return FALSE;
-	}
+      {
+        /*
+         * give up
+         */
+        // CCD_END;
+        MFREE (sim_pdu);
+        MFREE (submit);
+        return FALSE;
+      }
 //end
    }
    if (submit->tp_udhi EQ SMS_UDHI_INCLUDED)
@@ -3561,5 +3563,4 @@
   sms_timer_start(TMMS);
 }
   
-
 #endif