]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
*BSD: Fix getentropy() declaration.
authorMike Pall <mike>
Mon, 7 Mar 2022 08:45:04 +0000 (09:45 +0100)
committerMike Pall <mike>
Mon, 7 Mar 2022 08:45:04 +0000 (09:45 +0100)
Thanks to dundargoc.

src/lj_prng.c

index a9bd350a4fd23c86ef50ce3db68b2ae3b5e6a864..fff155a112bd2ace431267fd27cec42a3a54bfa5 100644 (file)
@@ -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