Well, declared static functions are only visible in the source file in which they are defined. Although listing them in a separate headline is not a good idea. I also saw some cases where developers did this. They do this to arrange them in order so that they can call one function from another. Here is what I mean:
static void plus(int); static void minus(int); static void multiply(int); static void minus(int v) { plus(); } static void plus(int v) { }
But IMHO this is a pretty disastrous way to do this. The best solution is to simply prototype the static functions in the source file before implementing them.
Apprenticehacker
source share