summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-20 10:47:53 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-20 10:47:53 +0000
commit9f06a9618a54a2117759537573de77a6a58c57ea (patch)
tree329d42bdbd0d45463caf6b6f3c67c9443f9153be /file.c
parentabc2a8b24620d2e355d72e540a9c5a33dd6ca912 (diff)
downloadruby-9f06a9618a54a2117759537573de77a6a58c57ea.tar.gz
ruby-9f06a9618a54a2117759537573de77a6a58c57ea.tar.xz
ruby-9f06a9618a54a2117759537573de77a6a58c57ea.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@13984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index a7822d0c3..09be42415 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;