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
d5cbc4a3
Commit
d5cbc4a3
authored
Oct 13, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid defining NULL; can cause duplicate definition errors.
From-SVN: r5771
parent
cd93179b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
gcc/bi-reverse.c
+3
-5
No files found.
gcc/bi-reverse.c
View file @
d5cbc4a3
...
@@ -21,8 +21,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -21,8 +21,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "hconfig.h"
#include "hconfig.h"
#include "bi-defs.h"
#include "bi-defs.h"
#define NULL 0
void
void
reverse
()
reverse
()
{
{
...
@@ -35,19 +33,19 @@ reverse()
...
@@ -35,19 +33,19 @@ reverse()
vp
=
dp
->
variations
;
vp
=
dp
->
variations
;
if
(
vp
)
if
(
vp
)
{
{
for
(
v
=
vp
->
next
,
vp
->
next
=
NULL
;
v
;
vp
=
v
,
v
=
vn
)
for
(
v
=
vp
->
next
,
vp
->
next
=
0
;
v
;
vp
=
v
,
v
=
vn
)
{
{
vn
=
v
->
next
;
vn
=
v
->
next
;
v
->
next
=
vp
;
v
->
next
=
vp
;
}
}
dp
->
variations
=
vp
;
dp
->
variations
=
vp
;
}
}
for
(
d
=
dp
->
next
,
dp
->
next
=
NULL
;
d
;
dp
=
d
,
d
=
dn
)
for
(
d
=
dp
->
next
,
dp
->
next
=
0
;
d
;
dp
=
d
,
d
=
dn
)
{
{
vp
=
d
->
variations
;
vp
=
d
->
variations
;
if
(
vp
)
if
(
vp
)
{
{
for
(
v
=
vp
->
next
,
vp
->
next
=
NULL
;
v
;
vp
=
v
,
v
=
vn
)
for
(
v
=
vp
->
next
,
vp
->
next
=
0
;
v
;
vp
=
v
,
v
=
vn
)
{
{
vn
=
v
->
next
;
vn
=
v
->
next
;
v
->
next
=
vp
;
v
->
next
=
vp
;
...
...
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