File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
core/iwasm/libraries/debug-engine Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ static WASMDebugEngine *g_debug_engine;
5858static uint32 current_instance_id = 1 ;
5959
6060static uint32
61- allocate_instance_id ()
61+ allocate_instance_id (void )
6262{
6363 uint32 id ;
6464
@@ -302,7 +302,7 @@ wasm_debug_control_thread_destroy(WASMDebugInstance *debug_instance)
302302}
303303
304304static WASMDebugEngine *
305- wasm_debug_engine_create ()
305+ wasm_debug_engine_create (void )
306306{
307307 WASMDebugEngine * engine ;
308308
@@ -326,7 +326,7 @@ wasm_debug_engine_create()
326326}
327327
328328void
329- wasm_debug_engine_destroy ()
329+ wasm_debug_engine_destroy (void )
330330{
331331 if (g_debug_engine ) {
332332 wasm_debug_handler_deinit ();
Original file line number Diff line number Diff line change 133133wasm_debug_engine_init (char * ip_addr , int32 process_port );
134134
135135void
136- wasm_debug_engine_destroy ();
136+ wasm_debug_engine_destroy (void );
137137
138138WASMExecEnv *
139139wasm_debug_instance_get_current_env (WASMDebugInstance * instance );
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ static char *tmpbuf;
3434static korp_mutex tmpbuf_lock ;
3535
3636int
37- wasm_debug_handler_init ()
37+ wasm_debug_handler_init (void )
3838{
3939 int ret ;
4040 tmpbuf = wasm_runtime_malloc (MAX_PACKET_SIZE );
@@ -51,7 +51,7 @@ wasm_debug_handler_init()
5151}
5252
5353void
54- wasm_debug_handler_deinit ()
54+ wasm_debug_handler_deinit (void )
5555{
5656 wasm_runtime_free (tmpbuf );
5757 tmpbuf = NULL ;
Original file line number Diff line number Diff line change 99#include "gdbserver.h"
1010
1111int
12- wasm_debug_handler_init ();
12+ wasm_debug_handler_init (void );
1313
1414void
15- wasm_debug_handler_deinit ();
15+ wasm_debug_handler_deinit (void );
1616
1717void
1818handle_interrupt (WASMGDBServer * server );
You can’t perform that action at this time.
0 commit comments