5.8.1.4 External Functions
Functions that are defined outside the projects C source files (e.g., a function defined in a separate bootloader project or in an assembly module) will require declarations so that the compiler knows how to encode calls to those functions.
A function declaration will look similar to the following example. Note
that the extern
specifier is optional, but make it clear this is a
declaration.
extern int clockMode(int);