Function prototype generation and extern

Hey all,

Some have noticed I ran into trouble trying to call functions generated in the .pde file of my project from the .c file of my project.

Thread involving my difficulties is here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1244947096

The crux was the following will fail in a .pde:

extern "C" void f(void) {return;}

error: previous declaration of 'void f()' with 'C++' linkage

This being due to the automagic generation of function prototypes creating an incorrect prototype. The work around for this is to move the such declarations to a .cpp file to avoid the automagic.

(I might add a wiki page if none exists later on for other new comers who are unfamilar with C++ but wishing to integrate their .c files)