aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-11-24 04:09:27 +0000
committerBen Elliston <bje@gcc.gnu.org>2004-11-24 15:09:27 +1100
commitaf746697141397c71da91a4f52f2e3b9db005cec (patch)
treef402c5fea47ec7ddebaa9e4cae76711df49aa044 /gcc/cp/error.c
parent0b167d51ed3c0f9dfa2cee5bde9d7fd5a6bdd04d (diff)
downloadgcc-af746697141397c71da91a4f52f2e3b9db005cec.zip
gcc-af746697141397c71da91a4f52f2e3b9db005cec.tar.gz
gcc-af746697141397c71da91a4f52f2e3b9db005cec.tar.bz2
cp-tree.h (context_as_string): Remove extern.
* cp-tree.h (context_as_string): Remove extern. * error.c (context_as_string): Remove. * cp-tree.h (cp_type_qual_from_rid): Remove extern. * lex.c (cp_type_qual_from_rid): Remove. * cp-tree.h (do_poplevel): Remove extern. (check_multiple_declarators): Likewise. * semantics.c (do_poplevel): Make static. (check_multiple_declarators): Remove. * cp-tree.h (check_final_overrider): Remove extern. * search.c (check_final_overrider): Make static. * cp-tree.h (build_artificial_parm): Remove extern. * decl2.c (build_artificial_parm): Make static. From-SVN: r91134
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r--gcc/cp/error.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 07fa6d9..2f14db6 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -1919,14 +1919,6 @@ decl_as_string (tree decl, int flags)
return pp_formatted_text (cxx_pp);
}
-const char *
-context_as_string (tree context, int flags)
-{
- reinit_cxx_pp ();
- dump_scope (context, flags);
- return pp_formatted_text (cxx_pp);
-}
-
/* Generate the three forms of printable names for cxx_printable_name. */
const char *