I have reduced the problem to the code below, error (warning) text is in = the title box for warning 2058. I know its going to be a no brainer, but = I am tired of looking at it! It is from the c18demo compiler MPLAB 6.30, device selected is 18F452. I = am not worried about the logic, that went with the pruning to find the = source of the warning.=20 /* = *************************************************************************= ******* * Least Common failure for = * * C:\mcc18\CTest\LeastComm.c:39:Warning [2058] call of function without = prototype * *************************************************************************= ******** */ #include /******************************* * Global variables ******************************* */ char ALIVECNT; // Counter for blinking "Alive" LED /******************************* * Function prototypes ******************************* */ void BlinkAlive(void); /******************************* * BlinkAlive() ******************************* */ void BlinkAlive() { PORTAbits.RA4 =3D 1; // Turn off LED if (!(--ALIVECNT)) // Decrement loop counter and = return if not zero { ALIVECNT =3D 250; // Reinitialize BLNKCNT PORTAbits.RA4 =3D 0; // Turn on LED for ten = milliseconds every 2.5 sec } } /////// Mainline program //////////////////////////////////////// /******************************* * main() ******************************* */ void main() { while(1) { PORTBbits.RB0 =3D !PORTBbits.RB0; // Toggle pin, to support = measuring loop time BlinkAlive(); // Blink "Alive" LED } } John Ferrell 6241 Phillippi Rd Julian NC 27283 Phone: (336)685-9606 johnferrell@earthlink.net Dixie Competition Products NSRCA 479 AMA 4190 W8CCW "My Competition is Not My Enemy" =20 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu