Skip to content

Commit

Permalink
banish a warning.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Sep 24, 2005
1 parent d95e8e0 commit 4a774a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions signal.c
Expand Up @@ -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);
Expand All @@ -442,8 +442,8 @@ sigsend_to_ruby_thread(int sig)
#endif

ruby_native_thread_kill(sig);
#endif
}
#endif

static RETSIGTYPE sighandler(int);
static RETSIGTYPE
Expand Down

0 comments on commit 4a774a7

Please sign in to comment.