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; {