Merge branch 'termios-types-fix' into 'master'
fix types used in termios See merge request redox-os/relibc!1200
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user