summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-25 08:45:44 +0000
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-25 08:45:44 +0000
commite75bce430b30a6a0cc5c0640cddee9a45facbfbf (patch)
tree96929012c1a30a58a388ef3d847a5366b4ce7912 /gcc/cp/pt.c
parent71b526be38d2bc7ef24e8b9b270ef21d258537eb (diff)
downloadgcc-e75bce430b30a6a0cc5c0640cddee9a45facbfbf.tar.gz
* cp-tree.h (get_primary_binfo): Remove prototype.
(push_using_decl): Likewise. (current_template_args): Likewise. (more_specialized_class): Likewise. (mark_class_instantiated): Likewise. (default_conversion): Likewise. (pfn_from_ptrmemfunc): Likewise. * class.c (get_primary_binfo): Add prototype, make static, simplify. * name-lookup.c (push_using_decl): Make static. * pt.c (current_template_args): Likewise. (more_specialized_class): Likewise. (mark_class_instantiated): Likewise. * typeck.c (default_conversion): Make static. (pfn_from_ptrmemfunc): Add prototype, make static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110208 138bc75d-0d04-0410-961f-82ee72b054a4
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 40ebbe5cca7..d3d8961cfd0 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -2451,7 +2451,7 @@ end_template_decl (void)
/* Given a template argument vector containing the template PARMS.
The innermost PARMS are given first. */
-tree
+static tree
current_template_args (void)
{
tree header;
@@ -10710,7 +10710,7 @@ more_specialized_fn (tree pat1, tree pat2, int len)
FULL_ARGS is the full set of template arguments that triggers this
partial ordering. */
-int
+static int
more_specialized_class (tree pat1, tree pat2, tree full_args)
{
tree targs;
@@ -11138,7 +11138,7 @@ do_decl_instantiation (tree decl, tree storage)
/*expl_inst_class_mem_p=*/false);
}
-void
+static void
mark_class_instantiated (tree t, int extern_p)
{
SET_CLASSTYPE_EXPLICIT_INSTANTIATION (t);