I still haven't had any luck figuring out what was causing my problem. I have uploaded my code (an older version that had this problem) to http://www.jasonhsu.com/swrwatt_2010_0224_2131.c . The code as is will compile. Uncommenting the delay_1_msec declaration will cause the error to show up. I agree that I need to figure out why I was getting these cryptic function declaration errors even though the same offending lines (verbatim) had no such effect in another program. As a student and as an engineer, I have found all too often that political pressure has encouraged me to just get the job done rather than take the time to understand just what I'm doing. Since I don't have a professor or boss breathing down my neck over this matter, I cannot use this as an excuse to pass up this learning opportunity. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist