diff mbox series

[pushed] libiberty: fix bad replacement.

Message ID e1be1620-d3fc-87f0-6af6-232b4ac1df87@suse.cz
State New
Headers show
Series [pushed] libiberty: fix bad replacement. | expand

Commit Message

Martin Liška May 10, 2022, 3:01 p.m. UTC
Pushed as obvious.

Martin

libiberty/ChangeLog:

	* random.c: Remove 'define PTR'.
---
 libiberty/random.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/libiberty/random.c b/libiberty/random.c
index be8819dd6b8..cd0b7399e73 100644
--- a/libiberty/random.c
+++ b/libiberty/random.c
@@ -68,12 +68,10 @@  control over the state of the random number generator.
 #define	LONG_MAX   ((long)(ULONG_MAX >> 1))   /* 0x7FFFFFFF for 32-bits*/
 
 #ifdef __STDC__
-#  define void *void *
 #  ifndef NULL
 #    define NULL (void *) 0
 #  endif
 #else
-#  define void *char *
 #  ifndef NULL
 #    define NULL (void *) 0
 #  endif