From d3cf0eb2142902245b7d45b557f73bbb1f02ba5a Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 5 Sep 2019 16:06:38 -0700 Subject: [PATCH] Mark rb_warn_keyword_to_last_hash as static inline mame pointed out that vm_args.c is included in vm_insnhelper.c. --- vm_args.c | 2 +- vm_insnhelper.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vm_args.c b/vm_args.c index 69ed9e5399..1542607323 100644 --- a/vm_args.c +++ b/vm_args.c @@ -581,7 +581,7 @@ ignore_keyword_hash_p(VALUE keyword_hash, const rb_iseq_t * const iseq) { VALUE rb_iseq_location(const rb_iseq_t *iseq); -MJIT_FUNC_EXPORTED void +static inline void rb_warn_keyword_to_last_hash(struct rb_calling_info *calling, const struct rb_call_info *ci, const rb_iseq_t * const iseq) { VALUE name, loc; diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 3c85d2f3fb..bc44ff37bd 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -24,7 +24,6 @@ extern void rb_method_definition_set(const rb_method_entry_t *me, rb_method_defi extern int rb_method_definition_eq(const rb_method_definition_t *d1, const rb_method_definition_t *d2); extern VALUE rb_make_no_method_exception(VALUE exc, VALUE format, VALUE obj, int argc, const VALUE *argv, int priv); -extern void rb_warn_keyword_to_last_hash(struct rb_calling_info *calling, const struct rb_call_info *ci, const rb_iseq_t * const iseq); /* control stack frame */