Function has no corresponding prototype

Hi everybody, I wrote a library to generate 55 Hz pwm signal for a RCM5400W, I am using the Timer C for this purpose. The library looks like follows:

/PWMBLDCM.LIB/
/Libreria encargada de generar la señal PWM de 55 Hz para los motores Brushless/

#ifndef PWMBLDCM_LIB //INICIO DEL ENCABEZADO
#define PWMBLDCM_LIB

//Constantes y variables a utilizar
#define CTMAX 4072
#define CTMIN 2501
#define CTNET 1571

unsigned int PERTC=41891;

//Configuración de los Puertos a usar como canales PWM
// Pines PE0 - PE3 como salidas PWM de los Timer C0 - Timers C3
WrPortI (PEALR, NULL, 0xAA);
WrPortI (PEFR, &PEFRShadow, 0x0F);
WrPortI (PEDDR, &PEDDRShadow, 0x0F);
WrPortI (TCCR, NULL, 4);
WrPortI (TAT1R, NULL, 15);
WrPortI (TCDLR, NULL, PERTC-1);// Byte bajo del Timer C
WrPortI (TCDHR, NULL, (PERTC-1)>>8); // Byte alto del Timer C

//Funciones encargadas de modificar los ciclos de trabajo de las señales PWM
nodebug void CTPWM0(int); //Prototipo CTPWM0
nodebug void CTPWM0(int PCTM0)
{
float PCT0;
float CT0;
PCT0=PCTM0/100;
CT0=(float)((CTNET*PCT0)+CTMIN);
WrPortI (TCR0LR, NULL, (int)CT0);
WrPortI (TCR0HR, NULL, (int)CT0>>8);
//printf(“CT0 al %f”,CT0);
}

nodebug void CTPWM1(int); //Prototipo CTPWM1
nodebug void CTPWM1(int PCTM1)
{
float PCT1;
float CT1;
PCT1=PCTM1/100;
CT1=(float)((CTNET*PCT1)+CTMIN);
WrPortI (TCR1LR, NULL, (int)CT1);
WrPortI (TCR1HR, NULL, (int)CT1>>8);
//printf(“CT1 al %f”,CT1);
}

nodebug void CTPWM2(int); //Prototipo CTPWM2
nodebug void CTPWM2(int PCTM2)
{
float PCT2;
float CT2;
PCT2=PCTM2/100;
CT2=(float)((CTNET*PCT2)+CTMIN);
WrPortI (TCR2LR, NULL, (int)CT2);
WrPortI (TCR2HR, NULL, (int)CT2>>8);
//printf(“CT2 al %f”,CT2);
}

nodebug void CTPWM3(int); //Prototipo CTPWM3
nodebug void CTPWM3(int PCTM3)
{
float PCT3;
float CT3;
PCT3=PCTM3/100;
CT3=(float)((CTNET*PCT3)+CTMIN);
WrPortI (TCR3LR, NULL, (int)CT3);
WrPortI (TCR3HR, NULL, (int)CT3>>8);
//printf(“CT3 al %f”,CT3);
}

#endif //FIN DEL ENCABEZADO

the problem is when I call the function CTPWMx (which updates the duty cycle of the PWM signal) from the main program. I get this
error

Reference to CTPWM0 has no corresponding prototype

I hope anybody can help me,

Greetings

Edgar

You need to surround the prototype with begin/end comments and have the name after the Beginheader.

/*** Beginheader CTPWM3 /
nodebug void CTPWM3(int);
/
** EndHeader */
nodebug void CTPWM3(int PCTM3)
{

}

Tim S.