aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-26 09:09:30 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-26 15:30:51 -0700
commitdd2068ac8d4016f43c1f3cc1aa81decb504db5b6 (patch)
tree50bb60942f3edb40128c7985264c5b2f3aa58838 /proc.c
parent31339ef4f2af9c7dad2a81eaa9470ee4574181a0 (diff)
downloadruby-dd2068ac8d4016f43c1f3cc1aa81decb504db5b6.tar.gz
Add rb_adjust_argv_kw_splat to internal.h
We are calling this in a few other files, it is better to have it in a header than adding prototypes to the other files.
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index 91f58785d9..f03e470151 100644
--- a/proc.c
+++ b/proc.c
@@ -954,8 +954,6 @@ proc_to_block_handler(VALUE procval)
return NIL_P(procval) ? VM_BLOCK_HANDLER_NONE : procval;
}
-extern VALUE rb_adjust_argv_kw_splat(int *argc, const VALUE **argv, int *kw_splat);
-
VALUE
rb_proc_call_with_block_kw(VALUE self, int argc, const VALUE *argv, VALUE passed_procval, int kw_splat)
{