changeset 686:695ac18cbcf9

alr_trc.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 23:38:36 +0000
parents 4094f0d750c7
children 95608d9c90de
files gsm-fw/g23m-gsm/alr/Makefile gsm-fw/g23m-gsm/alr/alr_trc.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/alr/Makefile	Mon Sep 29 23:34:03 2014 +0000
+++ b/gsm-fw/g23m-gsm/alr/Makefile	Mon Sep 29 23:38:36 2014 +0000
@@ -6,7 +6,7 @@
 	-I../../cdginc
 
 OBJS=	alr_cbch.o alr_cs.o alr_csf.o alr_dedi.o alr_em.o alr_main.o alr_nc.o \
-	alr_pch.o alr_pei.o alr_rach.o alr_tim.o
+	alr_pch.o alr_pei.o alr_rach.o alr_tim.o alr_trc.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/alr/alr_trc.c	Mon Sep 29 23:34:03 2014 +0000
+++ b/gsm-fw/g23m-gsm/alr/alr_trc.c	Mon Sep 29 23:38:36 2014 +0000
@@ -21,6 +21,10 @@
 #ifndef ALR_TRC_C
 #define ALR_TRC_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_PL
 
 /*==== INCLUDES ===================================================*/
@@ -185,7 +189,7 @@
   if (sem_ALR_TRC NEQ VSI_ERROR)
     alr_trc_clear ();
   else
-    vsi_o_ttrace(VSI_CALLER TC_EVENT, "canīt open semaphore \"ALR_IDLE_TRACE\"");
+    vsi_o_ttrace(VSI_CALLER TC_EVENT, "can't open semaphore \"ALR_IDLE_TRACE\"");
 }
 
 /*
@@ -441,4 +445,3 @@
 #else   /* ALR_TRACE_ENABLED */
 #endif  /* ALR_TRACE_ENABLED */
 #endif  /* ALR_TRC_C */
-