* [PATCH][pushed] libiberty: fix bad replacement.
@ 2022-05-10 15:01 Martin Liška
0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2022-05-10 15:01 UTC (permalink / raw)
To: gcc-patches; +Cc: Alan Modra
Pushed as obvious.
Martin
libiberty/ChangeLog:
* random.c: Remove 'define PTR'.
---
libiberty/random.c | 2 --
1 file changed, 2 deletions(-)
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
--
2.36.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-10 15:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 15:01 [PATCH][pushed] libiberty: fix bad replacement Martin Liška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).