Good days, thanks for your help. I saw the output of the preprocesador and it gives this
/**** FILE 'C:\PRJTs\CP20\CP20v02\CODIGO\TratamentoDePassagens.c' */
/*       12 */  unsigned char proximidadeEntrePassagens = 0 ;
/*       13 */  unsigned char regioesDePassagem [ 4 ] = { 1 , 1 , 1 , 1 } ;
/*       14 */  unsigned char vetAbaixoDoLimiarDeDistorcao [ ] = { 0 , 0 , 0 , 0 } ;
/*       15 */  unsigned int vetInstantesDeEntrada [ ] = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 } ;
/*       16 */  unsigned int vetInstantesDeSaida [ ] = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 } ;
/*       17 */  unsigned char picos [ 4 ] = { 0 , 0 , 0 , 0 } ;
/*       19 */  extern T_PASSAGEM * pPassagemTerminada ;
/*       21 */  extern unsigned char limiarDeRegiaoProxima [ ] ;
/*       22 */  extern unsigned char limiarDeRegiaoMuitoProxima [ ] ;
/*       23 */  extern unsigned char vetIndiceNiveisZeroDeLimiares [ 4 ] ;
/*       26 */  unsigned char * __far pNivelInferiorDeSensores = ( unsigned char * __far ) 0x3DBC00 ;
/*       33 */  #pragma CONST_SEG CONST_MUTAVEIS
/*       34 */  extern const T_FUNCAO_CONTAGEM vetFuncoesDeTratamentoDePassagens [ ] =
/*       35 */  {
                  .....  more code
In the project that contains many related files and is another file that contains T_PASSAGEM and also it gives error.
I comment  that I must only correct  the code (I did not do it), my question is: exists some form to declare T_PASSAGEM within these same archives where gives the error?
//This is a part of the other file
static byte statusPar[TAMANHO_DO_DADO_2];
static T_PASSAGEM bufPassagem[TAMANHO_BUF_PASSAGEM];  // HERE
byte bufPassagemIndex;
T_PASSAGEM *pPassagemTerminada;
T_PASSAGEM* pPassagem[TAMANHO_DO_DADO_2];
T_PASSAGEM *pPassagemCorrente = NULL;
T_PASSAGEM *pPassagemAnterior;
static byte infoPassagemAnterior;
static T_PASSAGEM passagemAnterior;
Thank for your response
Message Edited by Mickalechenko on 
2008-10-22 01:23 PM