[PATCH] Make a few functions static

Mark Mitchell mark@codesourcery.com
Sat Mar 6 05:01:00 GMT 2004


Jim Wilson wrote:

> Bonzini wrote:
> 
>>     * reload1.c (function_invariant_p): Moved here
>>     from local-alloc.c, made static.
> 
> 
> You made the declaration static, but not the definition.  You need to 
> add another static to fix this.
> 
> OK with that fixed.

Actually, is this still a requirement?

We now require ISO C support, and ISO C does not require the static on 
the definition.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Gcc-patches mailing list