summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-30 03:14:39 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-30 03:14:39 +0000
commit098d18a9a40409c6d67e3dbf6c80016098f0ceb0 (patch)
treeaa8f33757246edb915555342505158313b660db7 /libc
parent7ca2d776958a3c8f7fd91b176a64694487e1e20c (diff)
fix warning about __random() not being a prototype
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;