Explorar o código

fix warning about __random() not being a prototype

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
098d18a9a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libc/stdlib/random.c

+ 1 - 1
libc/stdlib/random.c

@@ -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;