Alexandre Julliard : wintab32: Make a function static.

Alexandre Julliard julliard at
Fri Dec 5 03:07:29 CST 2008

Francois Gouget <fgouget at> writes:

> So how do you know which functions to make static? I guess you don't 
> just mark them all static and see if it causes compilation errors.
> Is it a script parsing the 'nm -D' output and then grepping for them in 
> the spec file and in object files? I guess there's better way.

Currently I'm doing basically nm -D and then grep *.spec *.c. There are
a number of false positives since it will miss macros etc. so it's
probably a bit hard to automate. I suppose you could keep a current list
and then check for new symbols once a week.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list