diff options
Diffstat (limited to 'libc/stdlib/drand48-iter.c')
-rw-r--r-- | libc/stdlib/drand48-iter.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/stdlib/drand48-iter.c b/libc/stdlib/drand48-iter.c index bc2c15cb6..0e674a3ce 100644 --- a/libc/stdlib/drand48-iter.c +++ b/libc/stdlib/drand48-iter.c @@ -1,6 +1,6 @@ /* Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. - Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu <mailto:drepper@gnu.ai.mit.edu>>, August 1995. + Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -24,11 +24,14 @@ #include <sys/types.h> /* Global state for non-reentrant functions. */ -struct drand48_data __libc_drand48_data; +struct drand48_data __libc_drand48_data attribute_hidden; -int attribute_hidden -__drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) +int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) attribute_hidden; +int +__drand48_iterate (xsubi, buffer) + unsigned short int xsubi[3]; + struct drand48_data *buffer; { uint64_t X; uint64_t result; @@ -55,4 +58,3 @@ __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) return 0; } - |