summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{