Skip to content

Commit

Permalink
[wasi] Remove unused string parameter from mono_wasm_load_runtime (#1…
Browse files Browse the repository at this point in the history
…04608)

Context: #104356 (comment)

Co-authored-by: Pavel Savara <pavel.savara@gmail.com>
  • Loading branch information
radekdoulik and pavelsavara authored Oct 16, 2024
1 parent 0290065 commit 7bf8802
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mono/wasi/mono-include/driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <mono/metadata/object.h>
#include <mono/metadata/loader.h>

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);
Expand Down
2 changes: 1 addition & 1 deletion src/mono/wasi/runtime/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";

Expand Down
2 changes: 1 addition & 1 deletion src/mono/wasi/runtime/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7bf8802

Please sign in to comment.