diff options
Diffstat (limited to 'safe_libc')
-rw-r--r-- | safe_libc/Cargo.lock | 4 | ||||
-rw-r--r-- | safe_libc/Cargo.toml | 2 | ||||
-rw-r--r-- | safe_libc/src/lib.rs | 2 |
3 files changed, 3 insertions, 5 deletions
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; |