aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.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/search.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/search.c')
-rw-r--r--gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index cedf1da..8c26565 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -1774,7 +1774,7 @@ dfs_walk_once_accessible (tree binfo, bool friends_p,
/* Check that virtual overrider OVERRIDER is acceptable for base function
BASEFN. Issue diagnostic, and return zero, if unacceptable. */
-int
+static int
check_final_overrider (tree overrider, tree basefn)
{
tree over_type = TREE_TYPE (overrider);