summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm_args.c2
-rw-r--r--vm_insnhelper.c1
2 files changed, 1 insertions, 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 */