From e542ba7e4db5260f645a2fc2a1304914ace76cf0 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Wed, 27 Nov 2019 12:43:45 -0600 Subject: [PATCH] Fix amalg build. --- src/core/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/thread.c b/src/core/thread.c index a58a0bfd..8d439ff1 100644 --- a/src/core/thread.c +++ b/src/core/thread.c @@ -146,7 +146,7 @@ static Janet cfun_from_image(int32_t argc, Janet *argv) { return janet_wrap_abstract(thread); } -static const JanetReg it_cfuns[] = { +static const JanetReg threadlib_cfuns[] = { { "thread/from-image", cfun_from_image, JDOC("(thread/from-image image)\n\n" @@ -157,7 +157,7 @@ static const JanetReg it_cfuns[] = { /* Module entry point */ void janet_lib_thread(JanetTable *env) { - janet_core_cfuns(env, NULL, it_cfuns); + janet_core_cfuns(env, NULL, threadlib_cfuns); } #endif