summaryrefslogtreecommitdiff
path: root/src/unix/notbsd/emscripten.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/notbsd/emscripten.rs')
-rw-r--r--src/unix/notbsd/emscripten.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unix/notbsd/emscripten.rs b/src/unix/notbsd/emscripten.rs
index e680032cc7..28791d8fd5 100644
--- a/src/unix/notbsd/emscripten.rs
+++ b/src/unix/notbsd/emscripten.rs
@@ -1573,6 +1573,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 setpwent();
pub fn endpwent();
pub fn getpwent() -> *mut passwd;