Suppress the warnings when building with GCC11 (#1622)

Add pragma to ignore "-Waddress-of-packed-member"
Adds `void` parameter to the prototype of some functions to make them
have strict declarations
This commit is contained in:
casaroli
2022-10-20 15:26:57 +02:00
committed by GitHub
parent f8af659caa
commit 4c61bfd10d
5 changed files with 19 additions and 6 deletions

View File

@ -13,7 +13,7 @@ extern "C" {
#endif
uint64
bh_get_tick_ms();
bh_get_tick_ms(void);
uint32
bh_get_elpased_ms(uint32 *last_system_clock);