comparison gsm-fw/g23m-gsm/alr/alr_trc.c @ 686:695ac18cbcf9

alr_trc.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 23:38:36 +0000
parents 2f7df7a314f8
children
comparison
equal deleted inserted replaced
685:4094f0d750c7 686:695ac18cbcf9
18 +----------------------------------------------------------------------------- 18 +-----------------------------------------------------------------------------
19 */ 19 */
20 20
21 #ifndef ALR_TRC_C 21 #ifndef ALR_TRC_C
22 #define ALR_TRC_C 22 #define ALR_TRC_C
23
24 #include "config.h"
25 #include "fixedconf.h"
26 #include "condat-features.h"
23 27
24 #define ENTITY_PL 28 #define ENTITY_PL
25 29
26 /*==== INCLUDES ===================================================*/ 30 /*==== INCLUDES ===================================================*/
27 #include <string.h> 31 #include <string.h>
183 { 187 {
184 sem_ALR_TRC = vsi_s_open (VSI_CALLER "ALR_IDLE_TRACE",1); 188 sem_ALR_TRC = vsi_s_open (VSI_CALLER "ALR_IDLE_TRACE",1);
185 if (sem_ALR_TRC NEQ VSI_ERROR) 189 if (sem_ALR_TRC NEQ VSI_ERROR)
186 alr_trc_clear (); 190 alr_trc_clear ();
187 else 191 else
188 vsi_o_ttrace(VSI_CALLER TC_EVENT, "canīt open semaphore \"ALR_IDLE_TRACE\""); 192 vsi_o_ttrace(VSI_CALLER TC_EVENT, "can't open semaphore \"ALR_IDLE_TRACE\"");
189 } 193 }
190 194
191 /* 195 /*
192 +--------------------------------------------------------------------+ 196 +--------------------------------------------------------------------+
193 | PROJECT : GSM-PS (6147) MODULE : ALT_TRC | 197 | PROJECT : GSM-PS (6147) MODULE : ALT_TRC |
439 }//endfunc alr_trc_read */ 443 }//endfunc alr_trc_read */
440 444
441 #else /* ALR_TRACE_ENABLED */ 445 #else /* ALR_TRACE_ENABLED */
442 #endif /* ALR_TRACE_ENABLED */ 446 #endif /* ALR_TRACE_ENABLED */
443 #endif /* ALR_TRC_C */ 447 #endif /* ALR_TRC_C */
444