From e969404db043d2e96f3cd425157930651dbc3a52 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 20 May 2008 08:49:36 +0000 Subject: - note that __drand48_iterate should be void --- TODO | 1 + libc/stdlib/drand48-iter.c | 3 +++ 2 files changed, 4 insertions(+) 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) { -- cgit v1.2.3