mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-21 14:23:26 +00:00
fix: remove premature semicolon that prevents attribute application
Compiling on openbsd gives the warning lj_prng.c:131:3: warning: declaration does not declare anything [-Wmissing-declarations] __attribute__((weak)) ^
This commit is contained in:
parent
1d7b5029c5
commit
b3f597fd66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user