aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2006-01-23 18:26:01 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2006-01-23 18:26:01 +0000
commit993acaec693ef81eb83b445152f5b04652f49b33 (patch)
tree234d65b70f646f64cc917040778043870546dd13 /gcc/cp/semantics.c
parent0eab3aad5805128785916dbce9c12f0a2ba5cf85 (diff)
downloadgcc-993acaec693ef81eb83b445152f5b04652f49b33.zip
gcc-993acaec693ef81eb83b445152f5b04652f49b33.tar.gz
gcc-993acaec693ef81eb83b445152f5b04652f49b33.tar.bz2
cp-tree.h (do_poplevel): Remove prototype.
* cp-tree.h (do_poplevel): Remove prototype. * semantics.c (do_poplevel): Add prototype. Make static. * cp-tree.h (original_type): Remove prototype. * typeck.c (original_type): Make static. * cp-tree.h (declare_global_var): Remove prototype. * decl.c (declare_global_var): Make static. * cp-tree.h (implicitly_declare_fn): Remove prototype. * method.c (implicitly_declare_fn): Make static. * cp-tree.h (fold_decl_constant_value): Remove prototype. * pt.c (fold_decl_constant_value): Make static. From-SVN: r110140
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 6121d43..47ff6ea 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -57,6 +57,7 @@
parsing into this file; that will make implementing the new parser
much easier since it will be able to make use of these routines. */
+static tree do_poplevel (tree);
static tree maybe_convert_cond (tree);
static tree simplify_aggr_init_exprs_r (tree *, int *, void *);
static void emit_associated_thunks (tree);
@@ -427,7 +428,7 @@ anon_aggr_type_p (tree node)
/* Finish a scope. */
-tree
+static tree
do_poplevel (tree stmt_list)
{
tree block = NULL;