*BSD: Fix getentropy() declaration.
Thanks to dundargoc.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user