Function declarations
The same rules about scope apply to functions as to variables. Any function declared in a
file can be seen externally if no static specifier is given. Thus, in a
library file, it is often useful to hide those functions which are not
intended for general use by preceding their declaration with the word
static. They become private functions within the library and can only be
used by other functions within the library.
Next - Forward declarations.
Back to Contents page.