Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
52b7f433
Commit
52b7f433
authored
Jul 07, 2003
by
Andreas Jaeger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* friend.c: Convert to ISO C90 prototypes.
From-SVN: r69052
parent
b275810a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
gcc/cp/friend.c
+6
-12
No files found.
gcc/cp/friend.c
View file @
52b7f433
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment