From acafb83a63b4f99b3340b84d8e1ea3ba267bd80a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 1 May 2020 23:58:57 +0200 Subject: Update libc --- Cargo.lock | 4 ++-- safe_libc/Cargo.lock | 4 ++-- safe_libc/Cargo.toml | 2 +- safe_libc/src/lib.rs | 2 -- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45e6ba1..81b8dd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,9 +2,9 @@ # It is not intended for manual editing. [[package]] name = "libc" -version = "0.2.68" +version = "0.2.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0" +checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" [[package]] name = "neco" diff --git a/safe_libc/Cargo.lock b/safe_libc/Cargo.lock index e659af2..b20b067 100644 --- a/safe_libc/Cargo.lock +++ b/safe_libc/Cargo.lock @@ -2,9 +2,9 @@ # It is not intended for manual editing. [[package]] name = "libc" -version = "0.2.68" +version = "0.2.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea0c0405123bba743ee3f91f49b1c7cfb684eef0da0a50110f758ccf24cdff0" +checksum = "99e85c08494b21a9054e7fe1374a732aeadaff3980b6990b94bfd3a70f690005" [[package]] name = "safe_libc" diff --git a/safe_libc/Cargo.toml b/safe_libc/Cargo.toml index f776d09..3741877 100644 --- a/safe_libc/Cargo.toml +++ b/safe_libc/Cargo.toml @@ -7,4 +7,4 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -libc = { version = "0.2.68", default-features = false } +libc = { version = "0.2.69", default-features = false } diff --git a/safe_libc/src/lib.rs b/safe_libc/src/lib.rs index 2e39b8d..9356406 100644 --- a/safe_libc/src/lib.rs +++ b/safe_libc/src/lib.rs @@ -15,8 +15,6 @@ pub mod stdio; pub mod string; extern "C" { - pub fn strndup(cs: *const libc::c_char, n: libc::size_t) -> *mut libc::c_char; - // pub static stdin: *mut libc::FILE; pub static stdout: *mut libc::FILE; pub static stderr: *mut libc::FILE; -- cgit v1.2.3