Why would I ever code a function as "static" such as:
static int myfunction(int arg1, int arg2)
{
do some stuff here...
}
Do this specification must have to do with the visibility of the function within a single source file and/or across multiple source files in the same project? Or, are the variables within the function affected in some way?
Seems to me the static specifier on a function means nothing.
Thanks.