Bug 2389 - sparse fixes: prototypes and static tags
Status: RESOLVED INVALID
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: Macintosh All
: P2 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2005-09-23 19:28 EDT by ajax
Modified: 2007-05-21 11:23:42 EDT
0 users

See Also:



Description ajax 2005-09-23 19:28:29 EDT
Many files define functions without including the header that declares them. 
So, the prototype that the function's users use might not match the actual
definition.  botlib/be_ea.c is one obvious example, there are many others.

Once that's fixed there will probably be many functions and variables than can
be made static, which generates better code.

I'm working on a patch for this, I'll attach it shortly.
Comment 1 Ludwig Nussel 2005-10-10 11:20:02 EDT
send patches to the list for discussion if you have some 
Comment 2 Ryan C. Gordon 2007-05-21 11:23:42 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.