diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-30 03:14:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-30 03:14:39 +0000 |
commit | 098d18a9a40409c6d67e3dbf6c80016098f0ceb0 (patch) | |
tree | aa8f33757246edb915555342505158313b660db7 | |
parent | 7ca2d776958a3c8f7fd91b176a64694487e1e20c (diff) |
fix warning about __random() not being a prototype
-rw-r--r-- | libc/stdlib/random.c | 2 |
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; |