From 0bbab1e5151c3396ebe544d09cad997cd9cb5e3b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 7 May 2021 00:04:36 +0900 Subject: Protoized old pre-ANSI K&R style declarations and definitions --- thread_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_pthread.h') diff --git a/thread_pthread.h b/thread_pthread.h index 8b7583d266..2ac354046c 100644 --- a/thread_pthread.h +++ b/thread_pthread.h @@ -102,7 +102,7 @@ RUBY_SYMBOL_EXPORT_BEGIN #ifdef RB_THREAD_LOCAL_SPECIFIER #ifdef __APPLE__ // on Darwin, TLS can not be accessed across .so - struct rb_execution_context_struct *rb_current_ec(); + struct rb_execution_context_struct *rb_current_ec(void); void rb_current_ec_set(struct rb_execution_context_struct *); #else RUBY_EXTERN RB_THREAD_LOCAL_SPECIFIER struct rb_execution_context_struct *ruby_current_ec; -- cgit v1.2.1