summaryrefslogtreecommitdiff
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
parent11975abb2c891e563dbed51a52c050ea0b05b8a4 (diff)
- note that __drand48_iterate should be void
-rw-r--r--TODO1
-rw-r--r--libc/stdlib/drand48-iter.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/TODO b/TODO
index da4919cce..3a8be1d46 100644
--- a/TODO
+++ b/TODO
@@ -143,6 +143,7 @@ Manuel's todo:
d) Implement glibc 'a' flag for scanf string conversions.
e) Allow use of the older non-table-based ctype functions when using
stub locale support. (smaller)
+ f) __drand48_iterate should be void
2) Additional str{f|p}time issues.
----------------------------------
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)
{