From: "Ben Combee" <[EMAIL PROTECTED]>
>
> In short, the "static" keywords are used to keep CodeWarrior from
> complaining about the lack of prototypes for these functions.

Well, I guess that's one way of looking at it--to shut the compiler up! :)

The other way of looking at it is that functions local to a compilation unit
should _always_ be static, for exactly the same reasons that globals are
discouraged--to limit scope (which helps to limit bugs).


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to