internal.c: move mrb_method_missing prototype to <mruby/internal.h>.
Ref
MODIFY
include/mruby/internal.h
include/mruby/internal.h
@@ -21,6 +21,7 @@ mrb_bool mrb_const_name_p(mrb_state*, const char*, mrb_int);
mrb_value mrb_class_find_path(mrb_state*, struct RClass*);
mrb_value mrb_mod_to_s(mrb_state *, mrb_value);
void mrb_method_added(mrb_state *mrb, struct RClass *c, mrb_sym mid);
+mrb_noreturn void mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args);
#endif
/* debug */

MODIFY
mrbgems/mruby-binding/src/binding.c
mrbgems/mruby-binding/src/binding.c
#include <mruby/compile.h>
#include <mruby/error.h>
#include <mruby/proc.h>
-#include <mruby/presym.h>
#include <mruby/string.h>
+#include <mruby/internal.h>
+#include <mruby/presym.h>
-mrb_noreturn void mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args);
void mrb_proc_merge_lvar(mrb_state *mrb, mrb_irep *irep, struct REnv *env, int num, const mrb_sym *lv, const mrb_value *stack);
mrb_value mrb_exec_irep(mrb_state *mrb, mrb_value self, struct RProc *p);
const struct RProc *mrb_binding_extract_proc(mrb_state *mrb, mrb_value binding);

MODIFY
mrbgems/mruby-method/src/method.c
mrbgems/mruby-method/src/method.c
#include "mruby/internal.h"
#include "mruby/presym.h"
-mrb_noreturn void mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args);
mrb_value mrb_exec_irep(mrb_state *mrb, mrb_value self, struct RProc *p);
// Defined by mruby-proc-ext on which mruby-method depends

MODIFY
src/vm.c
src/vm.c
@@ -90,8 +90,6 @@ mrb_gc_arena_shrink(mrb_state *mrb, int idx)
#define CALL_MAXARGS 15
#define CALL_VARARGS (CALL_MAXARGS<<4 | CALL_MAXARGS)
-void mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args);
-
static inline void
stack_clear(mrb_value *from, size_t count)
{

internal.c: move mrb_method_missing prototype to <mruby/internal.h>.

Ref #5776