From 0649e287bec74395e4d8beb390d307318350e404 Mon Sep 17 00:00:00 2001 From: anth64 Date: Sat, 20 Dec 2025 08:22:41 -0500 Subject: [PATCH] extract_module_id is now not static --- docs/design.md | 2 +- src/module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/design.md b/docs/design.md index 93e441e..84c1c13 100644 --- a/docs/design.md +++ b/docs/design.md @@ -47,7 +47,7 @@ - WASM modules as an alternative backend. - Multi-language support (Rust, Go, Zig, etc.). - WASM runtime optional, old or retro hardware can ignore it. -- Sandbox and safety checks for WASM modules. +- Sandbox and safety checks for WASM modules. --- diff --git a/src/module.c b/src/module.c index b9b5911..dcd4a4b 100644 --- a/src/module.c +++ b/src/module.c @@ -17,7 +17,7 @@ size_t module_count = 0; 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; const char *basename = strrchr(path, '/');