From 9668aeb6b77d864146ade703eccebec61df6cc12 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 25 Feb 2007 02:43:43 +0000 Subject: * ruby.h: define RUBY_VM macro and remove NATIVETHREAD* macros. * intern.h: ditto. * signal.c (posix_signal): remove unused function posix_nativethread_signal(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- signal.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'signal.c') diff --git a/signal.c b/signal.c index f8ff47d48..195939f43 100644 --- a/signal.c +++ b/signal.c @@ -354,23 +354,6 @@ posix_signal(int signum, sighandler_t handler) ruby_signal(signum, handler); } -#ifdef HAVE_NATIVETHREAD -static sighandler_t -ruby_nativethread_signal(int signum, sighandler_t handler) -{ - sighandler_t old; - - old = ruby_signal(signum, handler); - rb_trap_accept_nativethreads[signum] = 1; - return old; -} - -void -posix_nativethread_signal(int signum, sighandler_t handler) -{ - ruby_nativethread_signal(signum, handler); -} -#endif #else /* !POSIX_SIGNAL */ #define ruby_signal(sig,handler) (rb_trap_accept_nativethreads[sig] = 0, signal((sig),(handler))) #ifdef HAVE_NATIVETHREAD -- cgit