summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-12 00:07:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-12 16:15:52 +0900
commitdd0217a8696667960e834ba95534ac5731997f3d (patch)
tree33e950fe852ecbec3283c67250e43488e31b9819 /builtin.h
parent2de3feab44c928c30f35a4a3a445b4fdfc225024 (diff)
Inline function should be static
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.h b/builtin.h
index 236dfd961c..549343c19d 100644
--- a/builtin.h
+++ b/builtin.h
@@ -46,7 +46,7 @@ static inline void rb_builtin_function_check_arity15(VALUE (*f)(rb_execution_con
VALUE rb_vm_lvar_exposed(rb_execution_context_t *ec, int index);
// inline
-inline VALUE
+static inline VALUE
rb_vm_lvar(rb_execution_context_t *ec, int index)
{
#if VM_CORE_H_EC_DEFINED