summaryrefslogtreecommitdiff
path: root/libc/stdlib/random.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/stdlib/random.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/stdlib/random.c')
-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 115ff2162..38c3ea4d2 100644
--- a/libc/stdlib/random.c
+++ b/libc/stdlib/random.c
@@ -246,6 +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. */
+libc_hidden_proto(random)
long int random (void)
{
int32_t retval;
@@ -255,5 +256,4 @@ long int random (void)
__pthread_mutex_unlock(&lock);
return retval;
}
-libc_hidden_proto(random)
libc_hidden_def(random)