From d5372501f517fd370beb0173346c726c9a1bf56a Mon Sep 17 00:00:00 2001 From: Kriang Lerdsuwanakij Date: Mon, 8 Jul 2002 14:53:51 +0000 Subject: [PATCH] pt.c (can_complete_type_without_circularity): Add static to function definition. * pt.c (can_complete_type_without_circularity): Add static to function definition. From-SVN: r55326 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/pt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f752ad5ba2c..d4873493de7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2002-07-08 Kriang Lerdsuwanakij + + * pt.c (can_complete_type_without_circularity): Add static to + function definition. + 2002-07-08 Mark Mitchell * cp-tree.h (have_extern_spec): Declare it diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 92933feb951..358c129b255 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -4912,7 +4912,7 @@ tsubst_friend_class (friend_tmpl, args) /* Returns zero if TYPE cannot be completed later due to circularity. Otherwise returns one. */ -int +static int can_complete_type_without_circularity (type) tree type; {