summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-01 15:18:49 +0000
committerbors <bors@rust-lang.org>2023-03-01 15:18:49 +0000
commit2bafdcf631478f8ac4bbe7934852731685f52cc9 (patch)
treee5724f1b053574c89f7f49ac03217d74d7c262d5
parent09d5a4b4942f62179ed010390cdcf05b0c28875c (diff)
parent8dfe94b47169b44053a7f2dc7de6c53857c74ac7 (diff)
downloadrust-libc-2bafdcf631478f8ac4bbe7934852731685f52cc9.tar.gz
Auto merge of #3130 - flba-eb:remote_duplicated_atof, r=JohnTitor
Remove duplicated atof function declaration This adapts to the changes done with PR #3036, removing a function declaration which would exist twice otherwise. cc: `@gh-tr,` `@samkearney`
-rw-r--r--src/unix/nto/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/unix/nto/mod.rs b/src/unix/nto/mod.rs
index 45e97ceace..b8fcf9df8e 100644
--- a/src/unix/nto/mod.rs
+++ b/src/unix/nto/mod.rs
@@ -2748,7 +2748,6 @@ extern "C" {
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int;
pub fn abs(i: ::c_int) -> ::c_int;
- pub fn atof(s: *const ::c_char) -> ::c_double;
pub fn labs(i: ::c_long) -> ::c_long;
pub fn rand() -> ::c_int;
pub fn srand(seed: ::c_uint);