*BSD: Fix getentropy() declaration.

Thanks to dundargoc.
master
Mike Pall 2022-03-07 09:45:04 +01:00
parent c4adf49204
commit c93890ed8b
1 changed files with 1 additions and 1 deletions

View 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