diff options
author | Martin Liska <mliska@suse.cz> | 2022-05-10 17:00:34 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-05-10 17:00:34 +0200 |
commit | 9cb69e7884f829ff2d09444730ef268e0e31d560 (patch) | |
tree | e5e7fb3187ca537d9f6b64cec5891a43eb77efa2 /libiberty | |
parent | 137da38377eb4ff53a71b199802a22d28c12d077 (diff) | |
download | gcc-9cb69e7884f829ff2d09444730ef268e0e31d560.zip gcc-9cb69e7884f829ff2d09444730ef268e0e31d560.tar.gz gcc-9cb69e7884f829ff2d09444730ef268e0e31d560.tar.bz2 |
libiberty: fix bad replacement.
libiberty/ChangeLog:
* random.c: Remove 'define PTR'.
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/random.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libiberty/random.c b/libiberty/random.c index be8819d..cd0b739 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 |