소스 검색

fix warning about __random() not being a prototype

Mike Frysinger 20 년 전
부모
커밋
098d18a9a4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;