summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:04:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:04:36 +0900
commit0bbab1e5151c3396ebe544d09cad997cd9cb5e3b (patch)
tree9ca2db82ab1b42c3902733d640228bb8eeb5f638 /include
parent99644514db3768e4fd47d6ff9111091ab1a5a6d2 (diff)
Protoized old pre-ANSI K&R style declarations and definitions
Diffstat (limited to 'include')
-rw-r--r--include/ruby/thread_native.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/thread_native.h b/include/ruby/thread_native.h
index 7e08c2e97f..343c02c30d 100644
--- a/include/ruby/thread_native.h
+++ b/include/ruby/thread_native.h
@@ -47,7 +47,7 @@ typedef pthread_cond_t rb_nativethread_cond_t;
RUBY_SYMBOL_EXPORT_BEGIN
-rb_nativethread_id_t rb_nativethread_self();
+rb_nativethread_id_t rb_nativethread_self(void);
void rb_nativethread_lock_initialize(rb_nativethread_lock_t *lock);
void rb_nativethread_lock_destroy(rb_nativethread_lock_t *lock);