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
c3583620
Commit
c3583620
authored
Oct 09, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reverse_def_dec_list): Silence compiler warnings.
From-SVN: r10437
parent
4859bca5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/protoize.c
+4
-4
No files found.
gcc/protoize.c
View file @
c3583620
...
...
@@ -2541,20 +2541,20 @@ reverse_def_dec_list (hp)
{
file_info
*
file_p
=
hp
->
fip
;
def_dec_info
*
prev
=
NULL
;
def_dec_info
*
current
=
file_p
->
defs_decs
;
def_dec_info
*
current
=
(
def_dec_info
*
)
file_p
->
defs_decs
;
if
(
!
(
current
=
file_p
->
defs_decs
)
)
if
(
!
current
)
return
;
/* no list to reverse */
prev
=
current
;
if
(
!
(
current
=
current
->
next_in_file
))
if
(
!
(
current
=
(
def_dec_info
*
)
current
->
next_in_file
))
return
;
/* can't reverse a single list element */
prev
->
next_in_file
=
NULL
;
while
(
current
)
{
def_dec_info
*
next
=
current
->
next_in_file
;
def_dec_info
*
next
=
(
def_dec_info
*
)
current
->
next_in_file
;
current
->
next_in_file
=
prev
;
prev
=
current
;
...
...
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