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:
Dundar Göc 2022-03-05 22:52:52 +01:00
parent 1d7b5029c5
commit b3f597fd66

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