From 6f7dc709ed7e403af224b0fbb91e9619629eb2ec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 19:45:02 +0000 Subject: make DODEBUG=y happy, update sysdeps/common/* copyright --- libc/stdlib/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdlib/random.c') 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) -- cgit v1.2.3