This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Remove superfluous "extern" in C++ frontend
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 Feb 2006 08:51:49 +0100 (CET)
- Subject: [patch] Remove superfluous "extern" in C++ frontend
The following patch removes two superfluous "extern" qualifiers for
functions that are already declared as extern in cp-tree.h.
(There are no other functions declared "extern" in a *.c file in the
C++ frontend AFAICS).
Bootstrapped and regtested on x86_64-unknown-linux-gnu.
Ok for mainline?
Regards,
Volker
:ADDPATCH C++:
2006-02-09 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* class.c (debug_class): Remove extern.
(debug_thunks): Likewise.
===================================================================
--- gcc/gcc/cp/class.c (revision 110738)
+++ gcc/gcc/cp/class.c (working copy)
@@ -6514,7 +6514,7 @@
/* Debug interface to hierarchy dumping. */
-extern void
+void
debug_class (tree t)
{
dump_class_hierarchy_1 (stderr, TDF_SLIM, t);
@@ -6644,7 +6644,7 @@
/* Dump the thunks for FN. */
-extern void
+void
debug_thunks (tree fn)
{
dump_thunk (stderr, 0, fn);
===================================================================