From d590027fd24924d33e6858706c3c8235aa19255c Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 7 Oct 2018 13:34:59 +0000 Subject: vm_core.h: fix inconsistent prototype declarations like "error: static declaration of 'xxx' follows non-static declaration". r64940 is successfully built on mswin but not built on almost all other environments. internal.h: ditto include/ruby/intern.h: MJIT_STATIC is moved to this file since this file also needs to use this. mjit.h: MJIT_STATIC is moved from this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index ff8bb6364e..b55121fbc7 100644 --- a/internal.h +++ b/internal.h @@ -1914,11 +1914,11 @@ void rb_vm_inc_const_missing_count(void); const void **rb_vm_get_insns_address_table(void); VALUE rb_source_location(int *pline); const char *rb_source_location_cstr(int *pline); -void rb_vm_pop_cfunc_frame(void); +MJIT_STATIC void rb_vm_pop_cfunc_frame(void); int rb_vm_add_root_module(ID id, VALUE module); void rb_vm_check_redefinition_by_prepend(VALUE klass); VALUE rb_yield_refine_block(VALUE refinement, VALUE refinements); -VALUE ruby_vm_special_exception_copy(VALUE); +MJIT_STATIC VALUE ruby_vm_special_exception_copy(VALUE); PUREFUNC(st_table *rb_vm_fstring_table(void)); -- cgit v1.2.3