From cb6a88484ce0b5ffba2fe98a40e2d51f4af92eb8 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sat, 25 Feb 2006 04:03:33 +0000 Subject: Merge from trunk. Going pretty good so far. Kind of. Okay, not really. --- libc/stdlib/drand48-iter.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'libc/stdlib/drand48-iter.c') 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 >, August 1995. + Contributed by Ulrich Drepper , 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 /* 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; } - -- cgit v1.2.3