From 098d18a9a40409c6d67e3dbf6c80016098f0ceb0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 30 Nov 2005 03:14:39 +0000 Subject: fix warning about __random() not being a prototype --- libc/stdlib/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3