extract_module_id is now not static

This commit is contained in:
2025-12-20 08:22:41 -05:00
parent a7d40929bf
commit 0649e287be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
- WASM modules as an alternative backend. - WASM modules as an alternative backend.
- Multi-language support (Rust, Go, Zig, etc.). - Multi-language support (Rust, Go, Zig, etc.).
- WASM runtime optional, old or retro hardware can ignore it. - WASM runtime optional, old or retro hardware can ignore it.
- Sandbox and safety checks for WASM modules. - Sandbox and safety checks for WASM modules.
--- ---
+1 -1
View File
@@ -17,7 +17,7 @@ size_t module_count = 0;
size_t stk_module_count(void) { return module_count; } size_t stk_module_count(void) { return module_count; }
static char *extract_module_id(const char *path) char *extract_module_id(const char *path)
{ {
char *id, *dot; char *id, *dot;
const char *basename = strrchr(path, '/'); const char *basename = strrchr(path, '/');