summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-07 19:19:07 +0000
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-07 19:19:07 +0000
commit4b8ee8b9e290b76076cfbf63168c872433aae2b0 (patch)
tree783fc8ce42cf9163774d544414cb2b5686dc302e /gcc
parentb98e26a653b46b8fe268d6520cce1cd2975af908 (diff)
downloadppe42-gcc-4b8ee8b9e290b76076cfbf63168c872433aae2b0.tar.gz
ppe42-gcc-4b8ee8b9e290b76076cfbf63168c872433aae2b0.zip
* friend.c: Convert to ISO C90 prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 e458a14bf1a..8d149a27c4b 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;
OpenPOWER on IntegriCloud