summaryrefslogtreecommitdiff
path: root/gcc/bi-reverse.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-10-13 15:57:23 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-10-13 15:57:23 +0000
commitb82680c7e8150f6cb633888fa8974c64a97ff175 (patch)
tree20bc61ab80130fcebb9d265f4ef8e1ec5e819300 /gcc/bi-reverse.c
parent4042c22da8bedcc79fbc636ad4f3360a2b87d04c (diff)
downloadgcc-b82680c7e8150f6cb633888fa8974c64a97ff175.tar.gz
Avoid defining NULL; can cause duplicate definition errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5771 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bi-reverse.c')
-rw-r--r--gcc/bi-reverse.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/bi-reverse.c b/gcc/bi-reverse.c
index c49b271c1d1..04d669ed8e3 100644
--- a/gcc/bi-reverse.c
+++ b/gcc/bi-reverse.c
@@ -21,8 +21,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "hconfig.h"
#include "bi-defs.h"
-#define NULL 0
-
void
reverse()
{
@@ -35,19 +33,19 @@ reverse()
vp = dp->variations;
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;
v->next = 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;
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;
v->next = vp;