On 6/13/2007 10:42 PM, Paul Eggert wrote:
Bob Smith <[EMAIL PROTECTED]> writes:
The #includes common to all files are the .pro files generated by the
C compiler. Each .pro file contains the prototypes for each function
in the corresponding .c file.
Sorry, I don't follow. What is the point of a .pro file containing a
prototype for a static function? Static functions aren't visible to
any module outside the corresponding .c file. Shouldn't static
functions always be suppressed from .pro files that you intend to
include elsewhere?
I agree.
However, if there's a compiler switch to suppress static functions
from the output when generating prototypes, I'm missing it.
--
_______________________________________________________________
Bob Smith - [EMAIL PROTECTED] - http://www.sudleyplace.com