aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-03-19 22:19:42 -0500
committerJesse Luehrs <doy@tozt.net>2013-03-19 22:19:42 -0500
commit6f9cd4b4e3d8e4078f42213fe8a4947b2369bda0 (patch)
tree79ee21da7a6fdc23f0b97947fe25a1e479301447 /src
parent6d0865c6e92b86f48e42d67822592cb77441d9bd (diff)
downloadrust-term-6f9cd4b4e3d8e4078f42213fe8a4947b2369bda0.tar.gz
rust-term-6f9cd4b4e3d8e4078f42213fe8a4947b2369bda0.zip
actually, who uses this
Diffstat (limited to 'src')
-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)
-{
-}