From 7d7b67a4721c6b7abed5d1a186d0acf45e1934cc Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 8 Mar 2023 23:07:30 -0800 Subject: RJIT: Clean up the declaration mess --- rjit.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rjit.c') diff --git a/rjit.c b/rjit.c index 6ea880f7f4..42eea9617a 100644 --- a/rjit.c +++ b/rjit.c @@ -6,10 +6,7 @@ **********************************************************************/ -#include "ruby/internal/config.h" // defines USE_RJIT - -// ISO C requires a translation unit to contain at least one declaration -void rb_rjit(void) {} +#include "rjit.h" // defines USE_RJIT #if USE_RJIT @@ -32,7 +29,6 @@ void rb_rjit(void) {} #include "vm_core.h" #include "vm_callinfo.h" -#include "rjit.h" #include "rjit_c.h" #include "ruby_assert.h" #include "ruby/debug.h" -- cgit v1.2.3