summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-23 21:37:10 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-23 21:37:10 +0000
commite4def7400f821f50866d80768d6296f11f4b641e (patch)
tree89c127dc7b4b44fa7cf567e3a0963e95038570e1 /ruby.h
parent2c44e16b13b68efd66fe895dbca840dbb786d2c1 (diff)
* signal.c: revert last change.
* ruby.h: ditto. * eval.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ruby.h b/ruby.h
index a4a8753..c23a60d 100644
--- a/ruby.h
+++ b/ruby.h
@@ -696,9 +696,6 @@ typedef pthread_t rb_nativethread_t;
# define NATIVETHREAD_CURRENT() pthread_self()
# define NATIVETHREAD_EQUAL(t1,t2) pthread_equal((t1),(t2))
# define HAVE_NATIVETHREAD
-
-# define NATIVETHREAD_KILL(th,sig) pthread_kill((th),(sig))
-# define HAVE_NATIVETHREAD_KILL
#elif defined(_WIN32) || defined(_WIN32_WCE)
typedef DWORD rb_nativethread_t;
# define NATIVETHREAD_CURRENT() GetCurrentThreadId()
@@ -706,13 +703,10 @@ typedef DWORD rb_nativethread_t;
# define HAVE_NATIVETHREAD
#endif
#ifdef HAVE_NATIVETHREAD
-int is_ruby_native_thread _((void));
+RUBY_EXTERN int is_ruby_native_thread();
#else
#define is_ruby_native_thread() (1)
#endif
-#ifdef HAVE_NATIVETHREAD_KILL
-void ruby_native_thread_kill _((int));
-#endif
#if defined(__cplusplus)
#if 0