summaryrefslogtreecommitdiff
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
parent364c8595884808315aaec9605bf2423963ed81c0 (diff)
Partially merged 79df14c04b452411b9d17e26a398e491bca1a811 to suppress compiler warning.
-rw-r--r--thread_pthread.h2
-rw-r--r--thread_win32.h2
-rw-r--r--version.h2
3 files changed, 5 insertions, 1 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
diff --git a/thread_win32.h b/thread_win32.h
index 60083da0a1..1a46929ddc 100644
--- a/thread_win32.h
+++ b/thread_win32.h
@@ -32,5 +32,7 @@ typedef struct rb_global_vm_lock_struct {
HANDLE lock;
} rb_global_vm_lock_t;
+void rb_native_mutex_destroy(rb_nativethread_lock_t *lock);
+
#endif /* RUBY_THREAD_WIN32_H */
diff --git a/version.h b/version.h
index 4c36f475c7..e787ee6a63 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 3
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 178
+#define RUBY_PATCHLEVEL 179
#define RUBY_RELEASE_YEAR 2021
#define RUBY_RELEASE_MONTH 3