[quake3-bugzilla] [Bug 5070] Let private functions be 'static' within tr_font.c

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Jul 10 16:22:46 EDT 2011


https://bugzilla.icculus.org/show_bug.cgi?id=5070

Ben Millwood <bugzilla at benmachine.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at benmachine.co.uk

--- Comment #5 from Ben Millwood <bugzilla at benmachine.co.uk> 2011-07-10 16:22:42 EDT ---
I wrote a patch once to use GCC's compilation information gathering (via
-aux-info) to add static to all sorts of functions only used in their file. It
was huge. The benefits are reduced executable size (but not by a very
impressive amount) and GCC can provide more warnings (e.g. for unused
functions) because it knows a particular function can't be used outside of some
file. Neither are really major though.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list