OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c725e8b
)
really fix missing __libc_drand48_data
author
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 10 Mar 2011 12:02:19 +0000
(13:02 +0100)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 10 Mar 2011 12:02:19 +0000
(13:02 +0100)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
libc/stdlib/drand48-iter.c
patch
|
blob
|
history
diff --git
a/libc/stdlib/drand48-iter.c
b/libc/stdlib/drand48-iter.c
index
e0c1ce4
..
7d705ad
100644
(file)
--- a/
libc/stdlib/drand48-iter.c
+++ b/
libc/stdlib/drand48-iter.c
@@
-21,8
+21,12
@@
#include <stdlib.h>
#include <limits.h>
#include <stdint.h>
+#include <stdlib.h>
#include <sys/types.h>
+/* Global state for non-reentrant functions. */
+struct drand48_data __libc_drand48_data;
+
#ifdef __UCLIBC_MJN3_ONLY__
#warning turn int __drand48_iterate into void
#endif /* __UCLIBC_MJN3_ONLY__ */