aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ios.rs5
-rw-r--r--src/termios_wrapper.c4
2 files changed, 0 insertions, 9 deletions
diff --git a/src/ios.rs b/src/ios.rs
index b4c0ad2..f8b464a 100644
--- a/src/ios.rs
+++ b/src/ios.rs
@@ -6,7 +6,6 @@ extern mod c {
fn cbreak () -> c_int;
fn raw () -> c_int;
fn echo (enable: c_int) -> c_int;
- fn crlf (enable: c_int) -> c_int;
}
pub fn cooked () -> bool {
@@ -24,7 +23,3 @@ pub fn raw () -> bool {
pub fn echo (enable: bool) -> bool {
unsafe { c::echo(enable as c_int) as bool }
}
-
-pub fn crlf (enable: bool) -> bool {
- unsafe { c::crlf(enable as c_int) as bool }
-}
diff --git a/src/termios_wrapper.c b/src/termios_wrapper.c
index 6a752e8..1c6dd70 100644
--- a/src/termios_wrapper.c
+++ b/src/termios_wrapper.c
@@ -29,7 +29,3 @@ int echo(int enabled)
return tcsetattr(0, TCSANOW, &t) == 0;
}
-
-int crlf(int enabled)
-{
-}