diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-27 08:24:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-27 08:24:26 +0000 |
commit | 0a420f2274941b84f639b551411ce677c830b7df (patch) | |
tree | 3e11022b14d6191ebb4f6a2c60ae50a2da88c07d | |
parent | 2d14b798c27b432434e05a9e9e680a24c952b299 (diff) | |
download | ruby-0a420f2274941b84f639b551411ce677c830b7df.tar.gz |
* thread_pthread.c (add_signal_thread_list): suppress warning for
unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | thread_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 7fa8e95ebd..5e76e65d6d 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1038,8 +1038,8 @@ ping_signal_thread_list(void) { } } #else /* USE_SIGNAL_THREAD_LIST */ -static void add_signal_thread_list(rb_thread_t *th) { } -static void remove_signal_thread_list(rb_thread_t *th) { } +#define add_signal_thread_list(th) (void)(th) +#define remove_signal_thread_list(th) (void)(th) #define ubf_select 0 static int ping_signal_thread_list(void) { return 0; } #endif /* USE_SIGNAL_THREAD_LIST */ |