Преглед изворни кода

*BSD: Fix getentropy() declaration.

Thanks to dundargoc.
Mike Pall пре 3 година
родитељ
комит
c93890ed8b
1 измењених фајлова са 1 додато и 1 уклоњено
  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