From 3c4d788bfe7ea2fe2e9b6c0246237be45a41a12e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 8 Jul 2023 01:47:06 +0900 Subject: macos: symbols for `rb_execution_context_t` should be internal --- vm.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index f94be00187..88aba3433a 100644 --- a/vm.c +++ b/vm.c @@ -446,16 +446,17 @@ RB_THREAD_LOCAL_SPECIFIER rb_atomic_t ruby_nt_serial; #endif #ifdef __APPLE__ - rb_execution_context_t * - rb_current_ec(void) - { - return ruby_current_ec; - } - void - rb_current_ec_set(rb_execution_context_t *ec) - { - ruby_current_ec = ec; - } +rb_execution_context_t * +rb_current_ec(void) +{ + return ruby_current_ec; +} + +void +rb_current_ec_set(rb_execution_context_t *ec) +{ + ruby_current_ec = ec; +} #endif #else -- cgit v1.2.3