added drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48,
seed48, and lcong48 functions fixed bug #63 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14645 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,9 +1,29 @@
|
||||
SubDir HAIKU_TOP src system libroot posix glibc stdlib ;
|
||||
|
||||
SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
|
||||
$(TARGET_ARCH) ;
|
||||
SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch $(TARGET_ARCH) ;
|
||||
SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
|
||||
SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
|
||||
|
||||
KernelMergeObject posix_gnu_stdlib.o :
|
||||
drand48.c
|
||||
drand48_r.c
|
||||
drand48-iter.c
|
||||
erand48.c
|
||||
erand48_r.c
|
||||
fpioconst.c
|
||||
jrand48.c
|
||||
jrand48_r.c
|
||||
lcong48.c
|
||||
lcong48_r.c
|
||||
lrand48.c
|
||||
lrand48_r.c
|
||||
mrand48.c
|
||||
mrand48_r.c
|
||||
nrand48.c
|
||||
nrand48_r.c
|
||||
seed48.c
|
||||
seed48_r.c
|
||||
srand48.c
|
||||
srand48_r.c
|
||||
: -fPIC -DPIC
|
||||
;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995,1996,1997,1998,2001,2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
double
|
||||
drand48 ()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
double
|
||||
erand48 (xsubi)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
long int
|
||||
jrand48 (xsubi)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
void
|
||||
lcong48 (param)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995,1996,1997,1998,2001,2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
long int
|
||||
lrand48 ()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995,1996,1997,1998,2001,2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
long int
|
||||
mrand48 ()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
long int
|
||||
nrand48 (xsubi)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995,1996,1997,1998,2001,2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
unsigned short int *
|
||||
seed48 (seed16v)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <[email protected]>, August 1995.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */
|
||||
extern struct drand48_data __libc_drand48_data;
|
||||
|
||||
void
|
||||
srand48 (seedval)
|
||||
|
||||
Reference in New Issue
Block a user