summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-16 05:31:27 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-16 05:31:27 +0000
commit0923ae5ed1711d699ef2923c2223163646634a66 (patch)
tree583cf1d6fc1e44358e9b2752ed80d438c098514e /io.c
parent80bd769f18179e7eb1bad63fc37cf005c5b5631d (diff)
* io.c: fixed a merge mistake of r33878, reported by nobu via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 5997c29611..40203b3575 100644
--- a/io.c
+++ b/io.c
@@ -1502,8 +1502,6 @@ rb_io_set_pos(VALUE io, VALUE offset)
static void clear_readconv(rb_io_t *fptr);
-#ifdef HAVE_FSYNC
-
/*
* call-seq:
* ios.rewind -> 0
@@ -1685,6 +1683,8 @@ rb_io_set_sync(VALUE io, VALUE sync)
return sync;
}
+#ifdef HAVE_FSYNC
+
/*
* call-seq:
* ios.fsync -> 0 or nil