From 3453b2bd0e186788bb81deff5d723cf48e10881f Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 20 Nov 2007 10:47:53 +0000 Subject: * gc.h, vm_core.h: decl of rb_gc_save_machine_context() should be at vm_core.h. * include/ruby/ruby.h, intern.h: remove type rb_thread_t. * include/ruby/intern.h: change rb_unblock_function_t, rb_unblock_function_t. * file.c, process.c: apply above changes. * thread.c, thread_pthread.ci, thread_win32.ci: ditto. * io.c: support blocking open (2). [ruby-core:13614] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index a7822d0c3b..09be42415a 100644 --- a/file.c +++ b/file.c @@ -3172,7 +3172,7 @@ extern unsigned long __attribute__((stdcall)) GetLastError(void); #endif static VALUE -rb_thread_flock(rb_thread_t *th, void *data) +rb_thread_flock(void *data) { #ifdef __CYGWIN__ int old_errno = errno; -- cgit v1.2.3