libcore: Remove a few possibly-cyclic imports in an effort to unbreak the tree on Linux
This commit is contained in:
parent
b8899138f8
commit
efb5f8734a
@ -1204,9 +1204,11 @@ pub fn read_whole_file(file: &Path) -> Result<~[u8], ~str> {
|
||||
// fsync related
|
||||
|
||||
pub mod fsync {
|
||||
use prelude::*;
|
||||
use io::{FILERes, FdRes, fd_t};
|
||||
use kinds::Copy;
|
||||
use libc;
|
||||
use ops::Drop;
|
||||
use option::{None, Option, Some};
|
||||
use os;
|
||||
|
||||
pub enum Level {
|
||||
|
@ -230,8 +230,6 @@ pub mod types {
|
||||
pub type uintptr_t = uint;
|
||||
}
|
||||
pub mod posix88 {
|
||||
use prelude::*;
|
||||
|
||||
pub type off_t = i32;
|
||||
pub type dev_t = u64;
|
||||
pub type ino_t = u32;
|
||||
|
Loading…
x
Reference in New Issue
Block a user