Browse Source

*BSD: Fix getentropy() declaration.

Thanks to dundargoc.
Mike Pall 3 năm trước cách đây
mục cha
commit
c93890ed8b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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