fcntl and sys_syslog header cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -14,7 +14,10 @@ use crate::{
|
||||
unistd::getpid,
|
||||
},
|
||||
io::Write,
|
||||
platform::{self, types::*},
|
||||
platform::{
|
||||
self,
|
||||
types::{c_char, c_int},
|
||||
},
|
||||
sync::Mutex,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user