Explorar o código

*BSD: Fix getentropy() declaration.

Thanks to dundargoc.
Mike Pall %!s(int64=3) %!d(string=hai) anos
pai
achega
c93890ed8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lj_prng.c

+ 1 - 1
src/lj_prng.c

@@ -126,7 +126,7 @@ static PRGR libfunc_rgr;
 #endif
 
 #if LJ_TARGET_HAS_GETENTROPY
-extern int getentropy(void *buf, size_t len);
+extern int getentropy(void *buf, size_t len)
 #ifdef __ELF__
   __attribute__((weak))
 #endif