svn commit: trunk/uClibc: libc/stdlib

aldot at uclibc.org aldot at uclibc.org
Tue May 20 08:49:36 UTC 2008


Author: aldot
Date: 2008-05-20 01:49:36 -0700 (Tue, 20 May 2008)
New Revision: 22022

Log:
- note that __drand48_iterate should be void


Modified:
   trunk/uClibc/TODO
   trunk/uClibc/libc/stdlib/drand48-iter.c


Changeset:
Modified: trunk/uClibc/TODO
===================================================================
--- trunk/uClibc/TODO	2008-05-20 08:47:51 UTC (rev 22021)
+++ trunk/uClibc/TODO	2008-05-20 08:49:36 UTC (rev 22022)
@@ -143,6 +143,7 @@
   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.
   ----------------------------------

Modified: trunk/uClibc/libc/stdlib/drand48-iter.c
===================================================================
--- trunk/uClibc/libc/stdlib/drand48-iter.c	2008-05-20 08:47:51 UTC (rev 22021)
+++ trunk/uClibc/libc/stdlib/drand48-iter.c	2008-05-20 08:49:36 UTC (rev 22022)
@@ -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)
 {




More information about the uClibc-cvs mailing list