OSDN Git Service

fix warning about __random() not being a prototype
authorMike Frysinger <vapier@gentoo.org>
Wed, 30 Nov 2005 03:14:39 +0000 (03:14 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 30 Nov 2005 03:14:39 +0000 (03:14 -0000)
libc/stdlib/random.c

index 8338770..3ffa506 100644 (file)
@@ -246,7 +246,7 @@ char * setstate (char *arg_state)
    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;