summaryrefslogtreecommitdiff
path: root/src/unix/hermit
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-05-24 14:57:28 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-05-27 22:23:02 +0200
commit8f403e5ac262508b763da173d545195710d10494 (patch)
tree9c894fbc9c9505448d26c94ace99be2599420a78 /src/unix/hermit
parent1059e0bd85428728cdd8b1546ce4edbace81f725 (diff)
downloadrust-libc-8f403e5ac262508b763da173d545195710d10494.tar.gz
Update MUSL Linux kernel headers and re-enable Linux tests
Diffstat (limited to 'src/unix/hermit')
-rw-r--r--src/unix/hermit/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/hermit/mod.rs b/src/unix/hermit/mod.rs
index 4c57811630..4bc03ef9ba 100644
--- a/src/unix/hermit/mod.rs
+++ b/src/unix/hermit/mod.rs
@@ -964,6 +964,8 @@ f! {
}
extern {
+ pub fn getrlimit(resource: ::c_int, rlim: *mut ::rlimit) -> ::c_int;
+ pub fn setrlimit(resource: ::c_int, rlim: *const ::rlimit) -> ::c_int;
pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
buflen: ::size_t) -> ::c_int;