]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys/cloudabi/os.rs
Permit use of mem::uninitialized via allow(deprecated)
[rust.git] / src / libstd / sys / cloudabi / os.rs
index 7e506b84df1ce653c5a65f4e7e7fb9db75b68e4e..7db7808a08783a6fb0f8b4e53e853928d277c095 100644 (file)
@@ -1,18 +1,9 @@
-// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
+use crate::ffi::CStr;
+use crate::str;
 
-use ffi::CStr;
-use libc::{self, c_int};
-use str;
+use libc::c_int;
 
-pub use sys::cloudabi::shims::os::*;
+pub use crate::sys::cloudabi::shims::os::*;
 
 pub fn errno() -> i32 {
     extern "C" {