diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-02 11:39:11 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-02 11:39:11 +0000 |
commit | 6a9b63e39075c53870933fbac5c1065f7d22047c (patch) | |
tree | 67bf8c3123d3710170ed1d98ac543d20e639269f /thread_win32.c | |
parent | 6f7b3de18752da24ebc9b7a7539c3bd4e886827d (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |