Appease GCC strict prototypes warning (#3775)

This commit is contained in:
YAMAMOTO Takashi
2024-09-10 10:42:23 +09:00
committed by GitHub
parent cbc2078898
commit f453d9d5ce
30 changed files with 335 additions and 335 deletions

View File

@ -6030,7 +6030,7 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
#if WASM_ENABLE_LABELS_AS_VALUES != 0
void **
wasm_interp_get_handle_table()
wasm_interp_get_handle_table(void)
{
WASMModuleInstance module;
memset(&module, 0, sizeof(WASMModuleInstance));

View File

@ -5751,7 +5751,7 @@ wasm_loader_prepare_bytecode(WASMModule *module, WASMFunction *func,
#if WASM_ENABLE_FAST_INTERP != 0 && WASM_ENABLE_LABELS_AS_VALUES != 0
void **
wasm_interp_get_handle_table();
wasm_interp_get_handle_table(void);
static void **handle_table;
#endif

View File

@ -2532,7 +2532,7 @@ wasm_loader_prepare_bytecode(WASMModule *module, WASMFunction *func,
#if WASM_ENABLE_FAST_INTERP != 0 && WASM_ENABLE_LABELS_AS_VALUES != 0
void **
wasm_interp_get_handle_table();
wasm_interp_get_handle_table(void);
static void **handle_table;
#endif