mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
banish a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d95e8e013b
commit
4a774a787f
1 changed files with 5 additions and 5 deletions
10
signal.c
10
signal.c
|
@ -423,15 +423,15 @@ signal_exec(int sig)
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(HAVE_NATIVETHREAD) && defined(HAVE_NATIVETHREAD_KILL)
|
||||
static void
|
||||
sigsend_to_ruby_thread(int sig)
|
||||
{
|
||||
#ifdef HAVE_NATIVETHREAD_KILL
|
||||
# ifdef HAVE_SIGPROCMASK
|
||||
#ifdef HAVE_SIGPROCMASK
|
||||
sigset_t mask, old_mask;
|
||||
# else
|
||||
#else
|
||||
int mask, old_mask;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SIGPROCMASK
|
||||
sigfillset(&mask);
|
||||
|
@ -442,8 +442,8 @@ sigsend_to_ruby_thread(int sig)
|
|||
#endif
|
||||
|
||||
ruby_native_thread_kill(sig);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
static RETSIGTYPE sighandler(int);
|
||||
static RETSIGTYPE
|
||||
|
|
Loading…
Reference in a new issue