summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/stdlib/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/random.c b/libc/stdlib/random.c
index 833877039..3ffa50690 100644
--- a/libc/stdlib/random.c
+++ b/libc/stdlib/random.c
@@ -246,7 +246,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. */
-long int attribute_hidden __random ()
+long int attribute_hidden __random (void)
{
int32_t retval;