ruby-changes:58740
From: Nobuyoshi <ko1@a...>
Date: Tue, 12 Nov 2019 16:16:26 +0900 (JST)
Subject: [ruby-changes:58740] dd0217a869 (master): Inline function should be static
https://git.ruby-lang.org/ruby.git/commit/?id=dd0217a869 From dd0217a8696667960e834ba95534ac5731997f3d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 12 Nov 2019 00:07:26 +0900 Subject: Inline function should be static diff --git a/builtin.h b/builtin.h index 236dfd9..549343c 100644 --- a/builtin.h +++ b/builtin.h @@ -46,7 +46,7 @@ static inline void rb_builtin_function_check_arity15(VALUE (*f)(rb_execution_con https://github.com/ruby/ruby/blob/trunk/builtin.h#L46 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/