aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-06-28 00:30:31 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-06-28 00:30:31 +0000
commit8ce332308c738cc38d292de5978e37dde916ba34 (patch)
tree1bf05e7aec3517a89d71382e39dbbc8e0fecfab2 /gcc/cp/pt.c
parent711f0333a210c7adf51645e4605e702855d4dc76 (diff)
downloadgcc-8ce332308c738cc38d292de5978e37dde916ba34.zip
gcc-8ce332308c738cc38d292de5978e37dde916ba34.tar.gz
gcc-8ce332308c738cc38d292de5978e37dde916ba34.tar.bz2
* c-format.c (check_format_string, get_constant)
* cfgrtl.c (rtl_split_edge): Mark the definition static, matching the forward declaration. cp: * decl.c (build_typename_type) * mangle.c (write_template_template_arg) * parser.c (cp_parser_scope_through_which_access_occurs) * pt.c (push_access_scope_real, push_access_scope, pop_access_scope) * repo.c (get_base_filename) * semantics.c (maybe_convert_cond): Mark the definition static, matching the forward declaration. java: * class.c (build_method_symbols_entry) * expr.c (get_offset_table_index) * jcf-parse.c (jcf_parse): Mark the definition static, matching the forward declaration. From-SVN: r68622
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 75b3537..1b56f53 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -180,7 +180,7 @@ static tree tsubst_copy_and_build (tree, tree, tsubst_flags_t, tree);
template argument for TEMPLATE_DECL. If CONTEXT is not NULL_TREE,
this is used instead of the context of T. */
-void
+static void
push_access_scope_real (tree t, tree args, tree context)
{
if (TREE_CODE (t) == FUNCTION_DECL || DECL_FUNCTION_TEMPLATE_P (t))
@@ -227,7 +227,7 @@ push_access_scope_real (tree t, tree args, tree context)
/* Like push_access_scope_real, but always uses DECL_CONTEXT. */
-void
+static void
push_access_scope (tree t)
{
push_access_scope_real (t, NULL_TREE, NULL_TREE);
@@ -236,7 +236,7 @@ push_access_scope (tree t)
/* Restore the scope set up by push_access_scope. T is the node we
are processing. */
-void
+static void
pop_access_scope (tree t)
{
if (TREE_CODE (t) == FUNCTION_DECL || DECL_FUNCTION_TEMPLATE_P (t))