From 6a9b63e39075c53870933fbac5c1065f7d22047c Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 2 Aug 2018 11:39:11 +0000 Subject: [PATCH] thread_win32.c: suppress warnings by -Wsuggest-attribute git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thread_win32.c b/thread_win32.c index 336cce1936..6db1f25fa7 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -779,13 +779,14 @@ rb_sigwait_fd_get(rb_thread_t *th) return -1; /* TODO */ } +NORETURN(void rb_sigwait_fd_put(rb_thread_t *, int)); void rb_sigwait_fd_put(rb_thread_t *th, int fd) { rb_bug("not implemented, should not be called"); } - +NORETURN(void rb_sigwait_sleep(const rb_thread_t *, int, const struct timespec *)); void rb_sigwait_sleep(const rb_thread_t *th, int fd, const struct timespec *ts) {