aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@gcc.gnu.org>2003-07-07 21:19:07 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2003-07-07 21:19:07 +0200
commit52b7f433b0f05d74b45f2bbaaf2633a60bb0596b (patch)
tree783fc8ce42cf9163774d544414cb2b5686dc302e
parentb275810aed9683b353e3af23e18915ae0e6748c7 (diff)
downloadgcc-52b7f433b0f05d74b45f2bbaaf2633a60bb0596b.zip
gcc-52b7f433b0f05d74b45f2bbaaf2633a60bb0596b.tar.gz
gcc-52b7f433b0f05d74b45f2bbaaf2633a60bb0596b.tar.bz2
* friend.c: Convert to ISO C90 prototypes.
From-SVN: r69052
-rw-r--r--gcc/cp/friend.c18
1 files changed, 6 insertions, 12 deletions
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;