Running Procedure from main code from a library

Yeah, i knew this would be bad.

So, pasting in...
Naturally, everything in the library that you can call seemed to be formatted:
NECIRrcv::function

so, i replaced all that with just
ir_function
so at least everything references; i think.

anyway, theres the .h file for the main code too (.cpp)
I havent edited the .h file that i can rememebr, and i dont know what to do with the things like "include NECIRrcv.h" clearly i dont need that anymore...
Well, i was fixing problems as they cropped up with a few different strategies, but now im getting an odd error...

C:\Documents and Settings\Gavin\Desktop\arduino-0011\hardware\cores\arduino/WProgram.h:13: error: default argument given for parameter 3 of 'long unsigned int pulseIn(uint8_t, uint8_t, long unsigned int)'


C:\Documents and Settings\Gavin\Desktop\arduino-0011\hardware\cores\arduino/WProgram.h:13: error: after previous specification in 'long unsigned int pulseIn(uint8_t, uint8_t, long unsigned int)'


Couldn't determine program size: C:\Documents and Settings\Gavin\Desktop\arduino-0011\hardware/tools/avr/bin/avr-size: 'C:\DOCUME~1\Gavin\LOCALS~1\Temp\build28695.tmp\New_RGB_Controller.hex': No such file

it seems to be bitching about pulseIn but funnily enough, i cant find any references to pulseIn in the code...

oh, how i hope i can get this working :-/

EDIT:
I thought it might be better to add than to repost after the triple post...

I had another idea, i rebuilt the library but i commented out the ISR, but then pasted a copy of it in my main code.
at first i was really happy because it recompiled without errors!
alas, the code is broken and i cant fix it...
id rather have errors, at least then i know stuff is broken..

Anyone have any idea why that wouldnt have worked?
i thought the idea was pure genius; but arduino didnt agree.