public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-267] libiberty: fix bad replacement.
@ 2022-05-10 15:01 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-05-10 15:01 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9cb69e7884f829ff2d09444730ef268e0e31d560

commit r13-267-g9cb69e7884f829ff2d09444730ef268e0e31d560
Author: Martin Liska <mliska@suse.cz>
Date:   Tue May 10 17:00:34 2022 +0200

    libiberty: fix bad replacement.
    
    libiberty/ChangeLog:
    
            * random.c: Remove 'define PTR'.

Diff:
---
 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


^ 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 [gcc r13-267] libiberty: fix bad replacement Martin Liska

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).