I've come across some code that has a large static function in a header file and i'm just curious when it is/is not ok to do this. For example, if many .c files include the header, why not just define the function non-static and link it in ?
Any advice or rules of thumb on when/when not to put static function definitions in header files in C would be appreciated,
thanks