diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-27 05:37:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-27 05:37:15 +0000 |
commit | f4d2374b45bf893b5adf34470e9f20d55143c5ac (patch) | |
tree | 651583577b0e27bb9416d55a3b79cc1ad15b0506 /io.c | |
parent | 07d9c294a2c873db7b945fbaa0d2664a0eeeb76d (diff) | |
download | ruby-f4d2374b45bf893b5adf34470e9f20d55143c5ac.tar.gz |
adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -1351,7 +1351,8 @@ rb_io_addstr(VALUE io, VALUE str) } #ifdef HAVE_FSYNC -static VALUE nogvl_fsync(void *ptr) +static VALUE +nogvl_fsync(void *ptr) { rb_io_t *fptr = ptr; @@ -1722,14 +1723,17 @@ rb_io_fsync(VALUE io) #else # define rb_io_fsync rb_f_notimplement # define rb_io_sync rb_f_notimplement -static VALUE rb_io_set_sync(VALUE io, VALUE sync) { - rb_notimplement(); - /* NEVER REACHED */ return Qundef; +static VALUE +rb_io_set_sync(VALUE io, VALUE sync) +{ + rb_notimplement(); + UNREACHABLE; } #endif #ifdef HAVE_FDATASYNC -static VALUE nogvl_fdatasync(void *ptr) +static VALUE +nogvl_fdatasync(void *ptr) { rb_io_t *fptr = ptr; @@ -8224,7 +8228,8 @@ struct ioctl_arg { long narg; }; -static VALUE nogvl_ioctl(void *ptr) +static VALUE +nogvl_ioctl(void *ptr) { struct ioctl_arg *arg = ptr; @@ -8521,7 +8526,8 @@ struct fcntl_arg { long narg; }; -static VALUE nogvl_fcntl(void *ptr) +static VALUE +nogvl_fcntl(void *ptr) { struct fcntl_arg *arg = ptr; |