This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make a few functions static


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]