]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdlib/drand48.c
hurd: Fix build
[thirdparty/glibc.git] / stdlib / drand48.c
index cff95e10a78948d982a94fa99d91f1c0b401d833..e88753ee4d2ef20c18593d3f7cc4e03cd41a93e0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
 
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 
-/* Global state for non-reentrant functions.  Defined in drand48-iter.c.  */
-extern struct drand48_data __libc_drand48_data;
 
 double
-drand48 ()
+drand48 (void)
 {
   double result;