diff options
author | Volker Reichelt <reichelt@igpm.rwth-aachen.de> | 2005-01-25 08:58:46 +0000 |
---|---|---|
committer | Volker Reichelt <reichelt@gcc.gnu.org> | 2005-01-25 08:58:46 +0000 |
commit | b01150a22f04194ea7d01e66cfa85d0481d0cea4 (patch) | |
tree | 8156e080988f76847a32369e79fbafaf682457a1 /gcc/cp/cxx-pretty-print.c | |
parent | b8c1703b79d755920c37c1d999cf7f5a53a57763 (diff) | |
download | gcc-b01150a22f04194ea7d01e66cfa85d0481d0cea4.zip gcc-b01150a22f04194ea7d01e66cfa85d0481d0cea4.tar.gz gcc-b01150a22f04194ea7d01e66cfa85d0481d0cea4.tar.bz2 |
cxx-pretty-print.c (pp_cxx_statement): Add prototype.
* cxx-pretty-print.c (pp_cxx_statement): Add prototype. Make static.
(pp_cxx_function_definition): Make static.
* cxx-pretty-print.h (pp_cxx_statement): Remove prototype.
(pp_cxx_function_definition): Likewise.
From-SVN: r94210
Diffstat (limited to 'gcc/cp/cxx-pretty-print.c')
-rw-r--r-- | gcc/cp/cxx-pretty-print.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c index ca2a29f..6c70fcc 100644 --- a/gcc/cp/cxx-pretty-print.c +++ b/gcc/cp/cxx-pretty-print.c @@ -41,6 +41,7 @@ static void pp_cxx_direct_abstract_declarator (cxx_pretty_printer *, tree); static void pp_cxx_declarator (cxx_pretty_printer *, tree); static void pp_cxx_parameter_declaration_clause (cxx_pretty_printer *, tree); static void pp_cxx_abstract_declarator (cxx_pretty_printer *, tree); +static void pp_cxx_statement (cxx_pretty_printer *, tree); static void pp_cxx_template_parameter (cxx_pretty_printer *, tree); @@ -1302,7 +1303,7 @@ pp_cxx_ctor_initializer (cxx_pretty_printer *pp, tree t) decl-specifier-seq(opt) declarator ctor-initializer(opt) function-body decl-specifier-seq(opt) declarator function-try-block */ -void +static void pp_cxx_function_definition (cxx_pretty_printer *pp, tree t) { tree saved_scope = pp->enclosing_scope; @@ -1463,7 +1464,7 @@ pp_cxx_exception_declaration (cxx_pretty_printer *pp, tree t) /* Statements. */ -void +static void pp_cxx_statement (cxx_pretty_printer *pp, tree t) { switch (TREE_CODE (t)) |