diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-26 09:36:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-26 09:36:35 +0000 |
commit | 5cc93174119d2d37d2fa188fb33a329fe4552267 (patch) | |
tree | bbde5fbb582f4881a8cb77d12fbf3e790e14edd5 /signal.c | |
parent | 761a8d8ea50d27fe9e11ad458a1b9a56626665bb (diff) | |
download | ruby-5cc93174119d2d37d2fa188fb33a329fe4552267.tar.gz ruby-5cc93174119d2d37d2fa188fb33a329fe4552267.tar.xz ruby-5cc93174119d2d37d2fa188fb33a329fe4552267.zip |
* io.c, signal.c, thread.c, thread_win32.c, include/ruby/intern.h:
suppress warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -473,12 +473,13 @@ sighandler(int sig) #endif } +#if USE_TRAP_MASK # ifdef HAVE_SIGPROCMASK static sigset_t trap_last_mask; # else static int trap_last_mask; # endif - +#endif #if HAVE_PTHREAD_H #include <pthread.h> @@ -961,6 +962,7 @@ install_sighandler(int signum, sighandler_t handler) } } +#if defined(SIGCLD) || defined(SIGCHLD) static void init_sigchld(int sig) { @@ -1001,6 +1003,7 @@ init_sigchld(int sig) trap_last_mask = mask; #endif } +#endif void ruby_sig_finalize() |