summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-02 11:39:11 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-02 11:39:11 (GMT)
commit6a9b63e39075c53870933fbac5c1065f7d22047c (patch)
tree67bf8c3123d3710170ed1d98ac543d20e639269f /thread_win32.c
parent6f7b3de18752da24ebc9b7a7539c3bd4e886827d (diff)
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
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 336cce1..6db1f25 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)
{