From 52b7f433b0f05d74b45f2bbaaf2633a60bb0596b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 7 Jul 2003 21:19:07 +0200 Subject: * friend.c: Convert to ISO C90 prototypes. From-SVN: r69052 --- gcc/cp/friend.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'gcc') diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c index e458a14..8d149a2 100644 --- a/gcc/cp/friend.c +++ b/gcc/cp/friend.c @@ -36,8 +36,7 @@ Boston, MA 02111-1307, USA. */ /* Returns nonzero if SUPPLICANT is a friend of TYPE. */ int -is_friend (type, supplicant) - tree type, supplicant; +is_friend (tree type, tree supplicant) { int declp; register tree list; @@ -131,8 +130,7 @@ is_friend (type, supplicant) DECL is the FUNCTION_DECL of the friend being added. */ void -add_friend (type, decl) - tree type, decl; +add_friend (tree type, tree decl) { tree typedecl; tree list; @@ -194,8 +192,7 @@ add_friend (type, decl) be in use at the same time! */ void -make_friend_class (type, friend_type) - tree type, friend_type; +make_friend_class (tree type, tree friend_type) { tree classes; int is_template_friend; @@ -324,12 +321,9 @@ make_friend_class (type, friend_type) pointed to by `this'. */ tree -do_friend (ctype, declarator, decl, parmdecls, attrlist, - flags, quals, funcdef_flag) - tree ctype, declarator, decl, parmdecls, attrlist; - enum overload_flags flags; - tree quals; - int funcdef_flag; +do_friend (tree ctype, tree declarator, tree decl, tree parmdecls, + tree attrlist, enum overload_flags flags, tree quals, + int funcdef_flag) { int is_friend_template = 0; -- cgit v1.1