diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-05-07 00:04:36 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-05-07 00:04:36 +0900 |
commit | 0bbab1e5151c3396ebe544d09cad997cd9cb5e3b (patch) | |
tree | 9ca2db82ab1b42c3902733d640228bb8eeb5f638 /thread_pthread.h | |
parent | 99644514db3768e4fd47d6ff9111091ab1a5a6d2 (diff) | |
download | ruby-0bbab1e5151c3396ebe544d09cad997cd9cb5e3b.tar.gz |
Protoized old pre-ANSI K&R style declarations and definitions
Diffstat (limited to 'thread_pthread.h')
-rw-r--r-- | thread_pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |