diff --git a/src/header/fcntl/linux.rs b/src/header/fcntl/linux.rs index 4eea50a14d..6be617fd26 100644 --- a/src/header/fcntl/linux.rs +++ b/src/header/fcntl/linux.rs @@ -1,4 +1,4 @@ -use crate::platform::types::*; +use crate::platform::types::c_int; pub const O_RDONLY: c_int = 0x0000; pub const O_WRONLY: c_int = 0x0001; diff --git a/src/header/fcntl/redox.rs b/src/header/fcntl/redox.rs index 8db73246d8..7ac6b33e22 100644 --- a/src/header/fcntl/redox.rs +++ b/src/header/fcntl/redox.rs @@ -1,4 +1,4 @@ -use crate::platform::types::*; +use crate::platform::types::c_int; pub const O_RDONLY: c_int = 0x0001_0000; pub const O_WRONLY: c_int = 0x0002_0000; diff --git a/src/header/sys_syslog/logger.rs b/src/header/sys_syslog/logger.rs index 151a194017..f9662c119b 100644 --- a/src/header/sys_syslog/logger.rs +++ b/src/header/sys_syslog/logger.rs @@ -14,7 +14,10 @@ use crate::{ unistd::getpid, }, io::Write, - platform::{self, types::*}, + platform::{ + self, + types::{c_char, c_int}, + }, sync::Mutex, };