Appease GCC strict prototypes warning (#3775)
This commit is contained in:
@ -29,7 +29,7 @@ typedef struct {
|
||||
} ThreadStartArg;
|
||||
|
||||
static int32
|
||||
allocate_thread_id()
|
||||
allocate_thread_id(void)
|
||||
{
|
||||
os_mutex_lock(&thread_id_lock);
|
||||
int32 id = tid_allocator_get_tid(&tid_allocator);
|
||||
|
||||
@ -64,10 +64,10 @@ void
|
||||
wasm_cluster_set_max_thread_num(uint32 num);
|
||||
|
||||
bool
|
||||
thread_manager_init();
|
||||
thread_manager_init(void);
|
||||
|
||||
void
|
||||
thread_manager_destroy();
|
||||
thread_manager_destroy(void);
|
||||
|
||||
/* Create cluster */
|
||||
WASMCluster *
|
||||
@ -109,7 +109,7 @@ bool
|
||||
wasm_cluster_register_destroy_callback(void (*callback)(WASMCluster *));
|
||||
|
||||
void
|
||||
wasm_cluster_cancel_all_callbacks();
|
||||
wasm_cluster_cancel_all_callbacks(void);
|
||||
|
||||
void
|
||||
wasm_cluster_suspend_all(WASMCluster *cluster);
|
||||
@ -190,7 +190,7 @@ struct WASMCurrentEnvStatus {
|
||||
};
|
||||
|
||||
WASMCurrentEnvStatus *
|
||||
wasm_cluster_create_exenv_status();
|
||||
wasm_cluster_create_exenv_status(void);
|
||||
|
||||
void
|
||||
wasm_cluster_destroy_exenv_status(WASMCurrentEnvStatus *status);
|
||||
|
||||
Reference in New Issue
Block a user