summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
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