Browse Source

*BSD: Fix getentropy() declaration.

Thanks to dundargoc.
Mike Pall 3 years ago
parent
commit
c93890ed8b
1 changed files with 1 additions and 1 deletions
  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