Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussink committed Feb 8, 2012
1 parent 9d0029c commit be4853e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions vm/builtin/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,6 @@ namespace rubinius {
mode(state, Fixnum::from(acc_mode));
}

void IO::unsafe_set_descriptor(native_int fd) {
descriptor_ = Fixnum::from(fd);
}

void IO::force_read_only(STATE) {
int m = mode_->to_native();
mode(state, Fixnum::from((m & ~O_ACCMODE) | O_RDONLY));
Expand Down
1 change: 0 additions & 1 deletion vm/builtin/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ namespace rubinius {

native_int to_fd();
void set_mode(STATE);
void unsafe_set_descriptor(native_int fd);
void force_read_only(STATE);
void force_write_only(STATE);
static void finalize(STATE, IO* io);
Expand Down

0 comments on commit be4853e

Please sign in to comment.