summaryrefslogtreecommitdiff
path: root/thread_pthread.h
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-03-20 16:38:26 +0900
committernagachika <nagachika@ruby-lang.org>2021-03-20 16:38:26 +0900
commit23bb717d95bd087dd0ec6a1beeed1b28eccc0f5b (patch)
tree3a26a5c424bd5a5d3128392dd3864bfa8d3b2902 /thread_pthread.h
parent364c8595884808315aaec9605bf2423963ed81c0 (diff)
Partially merged 79df14c04b452411b9d17e26a398e491bca1a811 to suppress compiler warning.
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index f2b7e598f7..c5244fa32f 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -40,6 +40,8 @@ typedef struct native_thread_data_struct {
} cond;
} native_thread_data_t;
+void rb_native_mutex_destroy(rb_nativethread_lock_t *lock);
+
#undef except
#undef try
#undef leave