svn commit: trunk/uClibc/libc/stdlib
vapier at uclibc.org
vapier at uclibc.org
Wed Nov 30 03:14:44 UTC 2005
Author: vapier
Date: 2005-11-29 19:14:39 -0800 (Tue, 29 Nov 2005)
New Revision: 12589
Log:
fix warning about __random() not being a prototype
Modified:
trunk/uClibc/libc/stdlib/random.c
Changeset:
Modified: trunk/uClibc/libc/stdlib/random.c
===================================================================
--- trunk/uClibc/libc/stdlib/random.c 2005-11-30 03:14:12 UTC (rev 12588)
+++ trunk/uClibc/libc/stdlib/random.c 2005-11-30 03:14:39 UTC (rev 12589)
@@ -246,7 +246,7 @@
rear pointers can't wrap on the same call by not testing the rear
pointer if the front one has wrapped. Returns a 31-bit random number. */
-long int attribute_hidden __random ()
+long int attribute_hidden __random (void)
{
int32_t retval;
More information about the uClibc-cvs
mailing list