From: fennecdjay Date: Wed, 2 Oct 2019 19:00:57 +0000 (+0200) Subject: :shirt: Make func_create static X-Git-Tag: nightly~2198^2~172 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b1a0f6cf93cc6beecc0e3f94a3f2e7644a19ca73;p=gwion.git :shirt: Make func_create static --- diff --git a/src/parse/scan2.c b/src/parse/scan2.c index 5f8e0430..78625b1f 100644 --- a/src/parse/scan2.c +++ b/src/parse/scan2.c @@ -467,7 +467,7 @@ ANN static m_str func_tmpl_name(const Env env, const Func_Def f) { } -ANN2(1,2,4) /*static */Value func_create(const Env env, const Func_Def f, +ANN2(1,2,4) static Value func_create(const Env env, const Func_Def f, const Value overload, const m_str name) { const Func func = scan_new_func(env, f, name); nspc_add_func(env->curr, insert_symbol(func->name), func);