changeset 719:9686546a3cf8

mm_forf.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 Oct 2014 00:59:24 +0000
parents 537f0f059574
children 5e2663894f03
files gsm-fw/g23m-gsm/mm/Makefile gsm-fw/g23m-gsm/mm/mm_forf.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/mm/Makefile	Sat Oct 04 00:54:26 2014 +0000
+++ b/gsm-fw/g23m-gsm/mm/Makefile	Sat Oct 04 00:59:24 2014 +0000
@@ -5,7 +5,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	mm_csf.o mm_em.o
+OBJS=	mm_csf.o mm_em.o mm_forf.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/mm/mm_forf.c	Sat Oct 04 00:54:26 2014 +0000
+++ b/gsm-fw/g23m-gsm/mm/mm_forf.c	Sat Oct 04 00:59:24 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef MM_FORF_C
 #define MM_FORF_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_MM
 
 /*==== INCLUDES ===================================================*/
@@ -143,7 +147,7 @@
             cause RC_SERVICE_ORDER.
 
 */
-const UBYTE cause_table[MAX_DEFINED_CAUSES] =
+LOCAL const UBYTE cause_table[MAX_DEFINED_CAUSES] =
 {
   RC_IMSI_IN_HLR,             /* 0x02 */
   RC_ILLEGAL_MS,              /* 0x03 */
@@ -281,4 +285,3 @@
 #endif /* #if 0 */
 
 #endif
-