]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cxx-pretty-print.c (pp_cxx_statement): Add prototype.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Tue, 25 Jan 2005 08:58:46 +0000 (08:58 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 25 Jan 2005 08:58:46 +0000 (08:58 +0000)
* 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

gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/cp/cxx-pretty-print.h

index db37ecd35b2146d4db80709a2440f51c63dac9a5..b9056d488c03d63512bed3c8a79f2765cc998894 100644 (file)
@@ -1,3 +1,10 @@
+2005-01-25  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * 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.
+
 2005-01-25  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
        * name-lookup.c (print_binding_level): Make static.
@@ -5,7 +12,6 @@
        (current_decl_namespace): Make static.
        * name-lookup.h (constructor_name_full): Remove prototype.
        (print_binding_level): Likewise.
-       (storetags): Likewise.
        (current_decl_namespace): Likewise.
 
 2005-01-25  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
index ca2a29f08b1c54ede61567782c56324215058ab5..6c70fccc3d2947261e7a216c38b30bd99830bf93 100644 (file)
@@ -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);
 \f
 
@@ -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))
index a2ce6b09de9e4ea43f8afd57427374f8d588bb80..cb7f94d7b9bb345a6efe98ed9fc11f8570dd24be 100644 (file)
@@ -69,9 +69,7 @@ void pp_cxx_colon_colon (cxx_pretty_printer *);
 void pp_cxx_separate_with (cxx_pretty_printer *, int);
 
 void pp_cxx_declaration (cxx_pretty_printer *, tree);
-void pp_cxx_function_definition (cxx_pretty_printer *, tree);
 void pp_cxx_canonical_template_parameter (cxx_pretty_printer *, tree);
-void pp_cxx_statement (cxx_pretty_printer *, tree);
 
 
 #endif /* GCC_CXX_PRETTY_PRINT_H */