summaryrefslogtreecommitdiff
path: root/libc/stdlib/drand48-iter.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:49:36 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:49:36 +0000
commite969404db043d2e96f3cd425157930651dbc3a52 (patch)
tree2af1f2e0383f739ff39b57b7e6d73276bfe04c25 /libc/stdlib/drand48-iter.c
parent11975abb2c891e563dbed51a52c050ea0b05b8a4 (diff)
- note that __drand48_iterate should be void
Diffstat (limited to 'libc/stdlib/drand48-iter.c')
-rw-r--r--libc/stdlib/drand48-iter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/stdlib/drand48-iter.c b/libc/stdlib/drand48-iter.c
index abfe53559..221cbe08f 100644
--- a/libc/stdlib/drand48-iter.c
+++ b/libc/stdlib/drand48-iter.c
@@ -26,6 +26,9 @@
/* Global state for non-reentrant functions. */
struct drand48_data __libc_drand48_data attribute_hidden;
+#ifdef __UCLIBC_MJN3_ONLY__
+#warning turn int __drand48_iterate into void
+#endif /* __UCLIBC_MJN3_ONLY__ */
int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) attribute_hidden;
int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer)
{