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 two functions in cp/cxx-pretty-print.c static.


Volker Reichelt wrote:
The two functions "pp_cxx_statement" and "pp_cxx_function_definition"
are only used in cp/cxx-pretty-print.c.

The following patch makes them static and removes their prototypes
from cp/cxx-pretty-print.h. A prototype in cp/cxx-pretty-print.c is
only needed for "pp_cxx_statement".

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]