diff --git a/src/libnative/io/mod.rs b/src/libnative/io/mod.rs index 90f8f6c214e..a541712e17f 100644 --- a/src/libnative/io/mod.rs +++ b/src/libnative/io/mod.rs @@ -301,8 +301,4 @@ fn tty_open(&mut self, fd: c_int, _readable: bool) }) } } - fn signal(&mut self, _signal: int, _cb: Box) - -> IoResult> { - Err(unimpl()) - } } diff --git a/src/librustrt/rtio.rs b/src/librustrt/rtio.rs index a08bc697602..e9bee19b498 100644 --- a/src/librustrt/rtio.rs +++ b/src/librustrt/rtio.rs @@ -233,8 +233,6 @@ fn spawn(&mut self, cfg: ProcessConfig) fn pipe_open(&mut self, fd: c_int) -> IoResult>; fn tty_open(&mut self, fd: c_int, readable: bool) -> IoResult>; - fn signal(&mut self, signal: int, cb: Box) - -> IoResult>; } pub trait RtioTcpListener : RtioSocket {