libiberty: fix bad replacement.

libiberty/ChangeLog:

	* random.c: Remove 'define PTR'.
This commit is contained in:
Martin Liska 2022-05-10 17:00:34 +02:00
parent 137da38377
commit 9cb69e7884

View File

@ -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