summaryrefslogtreecommitdiff
path: root/libc/stdlib/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/random.c')
-rw-r--r--libc/stdlib/random.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/stdlib/random.c b/libc/stdlib/random.c
index 3eb8aed8a..6d5d06e09 100644
--- a/libc/stdlib/random.c
+++ b/libc/stdlib/random.c
@@ -27,10 +27,10 @@
#include <stddef.h>
#include <stdlib.h>
-libc_hidden_proto(random_r)
-libc_hidden_proto(srandom_r)
-libc_hidden_proto(setstate_r)
-libc_hidden_proto(initstate_r)
+/* libc_hidden_proto(random_r) */
+/* libc_hidden_proto(srandom_r) */
+/* libc_hidden_proto(setstate_r) */
+/* libc_hidden_proto(initstate_r) */
/* POSIX.1c requires that there is mutual exclusion for the `rand' and
`srand' functions to prevent concurrent calls from modifying common
@@ -244,7 +244,7 @@ char * setstate (char *arg_state)
rear pointers can't wrap on the same call by not testing the rear
pointer if the front one has wrapped. Returns a 31-bit random number. */
-libc_hidden_proto(random)
+/* libc_hidden_proto(random) */
long int random (void)
{
int32_t retval;