fix types used in termios

This commit is contained in:
auronandace
2026-04-15 14:09:42 +01:00
parent 24a481364f
commit 8f62fed364
+4 -4
View File
@@ -9,7 +9,7 @@ use crate::{
},
platform::{
self,
types::{c_int, c_ulong, c_void, pid_t},
types::{c_int, c_uchar, c_uint, c_ulong, c_void, pid_t},
},
};
@@ -23,9 +23,9 @@ pub mod sys;
#[path = "redox.rs"]
pub mod sys;
pub type cc_t = u8;
pub type speed_t = u32;
pub type tcflag_t = u32;
pub type cc_t = c_uchar;
pub type speed_t = c_uint;
pub type tcflag_t = c_uint;
pub const TCOOFF: c_int = 0;
pub const TCOON: c_int = 1;