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 three functions in cp/name-lookup.c static.


Volker Reichelt wrote:
The three functions "print_binding_level", "constructor_name_full",
and "current_decl_namespace" are only used in cp/name-lookup.c.

The following patch makes them static and removes their prototypes
from cp/name-lookup.h. No extra prototypes in cp/name-lookup.c are
needed, since the uses are after the respective definitions.

Bootstrapped and regtested.

Ok to apply to mainline?

OK.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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