From e3fc30564e9466d6926f9d25a090dcf787bd5c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Mon, 26 Aug 2019 15:53:57 +0900 Subject: rb_thread_create now free from ANYARGS After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_thread_create, which seems very safe to do. --- thread_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_pthread.c') diff --git a/thread_pthread.c b/thread_pthread.c index 39c3ed0ed4..cbe6aa028a 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2156,7 +2156,7 @@ timer_pthread_fn(void *p) #endif /* UBF_TIMER_PTHREAD */ static VALUE -ubf_caller(const void *ignore) +ubf_caller(void *ignore) { rb_thread_sleep_forever(); -- cgit v1.2.3