Originally Posted by
Elysia
Yes, that explains how I use different files in all my projects and it compiles fine without the extern keyword.
Actually, the linker will search through all object files when searching for a function. The difference is a variable. You can't redefine it, so you must use something to tell the compiler it exists, yet not redefine it. Therefore the "extern" keyword exists.
This is not needed for functions, because declarations are not definitions. They do not produce any code.