summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 7fa8e95ebd..5e76e65d6d 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1038,8 +1038,8 @@ ping_signal_thread_list(void) {
}
}
#else /* USE_SIGNAL_THREAD_LIST */
-static void add_signal_thread_list(rb_thread_t *th) { }
-static void remove_signal_thread_list(rb_thread_t *th) { }
+#define add_signal_thread_list(th) (void)(th)
+#define remove_signal_thread_list(th) (void)(th)
#define ubf_select 0
static int ping_signal_thread_list(void) { return 0; }
#endif /* USE_SIGNAL_THREAD_LIST */