diff --git a/src/mono/wasi/mono-include/driver.h b/src/mono/wasi/mono-include/driver.h index 8931972755a6aa..a2d50c08db5127 100644 --- a/src/mono/wasi/mono-include/driver.h +++ b/src/mono/wasi/mono-include/driver.h @@ -5,7 +5,7 @@ #include #include -void mono_wasm_load_runtime (const char *unused, int debug_level); +void mono_wasm_load_runtime (int debug_level); int mono_wasm_add_assembly (const char *name, const unsigned char *data, unsigned int size); MonoAssembly* mono_wasm_assembly_load(const char *name); MonoMethod* mono_wasi_assembly_get_entry_point (MonoAssembly *assembly); diff --git a/src/mono/wasi/runtime/driver.c b/src/mono/wasi/runtime/driver.c index 80e831bb29ceab..09cb747711cae0 100644 --- a/src/mono/wasi/runtime/driver.c +++ b/src/mono/wasi/runtime/driver.c @@ -242,7 +242,7 @@ load_runtimeconfig (void) } void -mono_wasm_load_runtime (const char *unused, int debug_level) +mono_wasm_load_runtime (int debug_level) { const char *interp_opts = ""; diff --git a/src/mono/wasi/runtime/main.c b/src/mono/wasi/runtime/main.c index c81e1a798288bc..daa62764b773ab 100644 --- a/src/mono/wasi/runtime/main.c +++ b/src/mono/wasi/runtime/main.c @@ -50,7 +50,7 @@ int initialize_runtime() #ifndef WASM_SINGLE_FILE mono_set_assemblies_path("managed"); #endif - mono_wasm_load_runtime("", 0); + mono_wasm_load_runtime(0); #ifdef WASI_AFTER_RUNTIME_LOADED_CALLS // This is supplied from the MSBuild itemgroup @(WasiAfterRuntimeLoaded)