[前][次][番号順一覧][スレッド一覧]

ruby-changes:51944

From: k0kubun <ko1@a...>
Date: Thu, 2 Aug 2018 20:39:16 +0900 (JST)
Subject: [ruby-changes:51944] k0kubun:r64159 (trunk): thread_win32.c: suppress warnings by -Wsuggest-attribute

k0kubun	2018-08-02 20:39:11 +0900 (Thu, 02 Aug 2018)

  New Revision: 64159

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64159

  Log:
    thread_win32.c: suppress warnings by -Wsuggest-attribute

  Modified files:
    trunk/thread_win32.c
Index: thread_win32.c
===================================================================
--- thread_win32.c	(revision 64158)
+++ thread_win32.c	(revision 64159)
@@ -779,13 +779,14 @@ rb_sigwait_fd_get(rb_thread_t *th) https://github.com/ruby/ruby/blob/trunk/thread_win32.c#L779
     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)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]