summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-17 21:31:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-17 21:31:59 +0900
commit1c4a523006e4a0994db4f166bd410fe1d35e8611 (patch)
tree7d48f85deac5b9cc693963e4ad1f8c7ee946d2d6 /thread_pthread.c
parent2476b1ee0be48a54e05b58ddf38d4d4973b9660e (diff)
Move `posix_signal` declaration internal with prefix `ruby_`
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index ff7831600c..b9b656f469 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -737,7 +737,7 @@ Init_native_thread(rb_thread_t *main_th)
rb_bug("pthread_key_create failed (ruby_current_ec_key)");
}
#endif
- posix_signal(SIGVTALRM, null_func);
+ ruby_posix_signal(SIGVTALRM, null_func);
// setup main thread
main_th->nt->thread_id = pthread_self();