mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-09-05 17:32:26 +00:00
appease a few compiler warnings (-Wstrict-prototypes) (#4465)
This commit is contained in:
parent
d6fc18e197
commit
933e49df18
|
@ -4711,7 +4711,7 @@ aot_unload(AOTModule *module)
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32
|
uint32
|
||||||
aot_get_plt_table_size()
|
aot_get_plt_table_size(void)
|
||||||
{
|
{
|
||||||
return get_plt_table_size();
|
return get_plt_table_size();
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
static char aot_error[128];
|
static char aot_error[128];
|
||||||
|
|
||||||
char *
|
char *
|
||||||
aot_get_last_error()
|
aot_get_last_error(void)
|
||||||
{
|
{
|
||||||
return aot_error[0] == '\0' ? "" : aot_error;
|
return aot_error[0] == '\0' ? "" : aot_error;
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,10 +98,10 @@ void
|
||||||
aot_destroy_aot_file(uint8_t *aot_file);
|
aot_destroy_aot_file(uint8_t *aot_file);
|
||||||
|
|
||||||
char *
|
char *
|
||||||
aot_get_last_error();
|
aot_get_last_error(void);
|
||||||
|
|
||||||
uint32_t
|
uint32_t
|
||||||
aot_get_plt_table_size();
|
aot_get_plt_table_size(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user