summaryrefslogtreecommitdiff
path: root/src/unix/hermit/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/hermit/mod.rs')
-rw-r--r--src/unix/hermit/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unix/hermit/mod.rs b/src/unix/hermit/mod.rs
index bed6f7ae7f..aadfa1cf0f 100644
--- a/src/unix/hermit/mod.rs
+++ b/src/unix/hermit/mod.rs
@@ -696,6 +696,12 @@ f! {
}
extern {
+ 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);
+
pub fn bind(s: ::c_int, name: *const ::sockaddr, namelen: ::socklen_t)
-> ::c_int;