From 4fcdf2022df38b37365ee5d948005ac08a1f1a83 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 22 Jan 2019 20:16:05 -0800 Subject: Update libc crate to 0.2.47 This change updates the libc crate to version 0.2.47. Import subrepo libc/:libc at ce1dfcbf81bd74662b5cd02a9214818a0bfbbffa --- libc/src/unix/haiku/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/src/unix/haiku') diff --git a/libc/src/unix/haiku/mod.rs b/libc/src/unix/haiku/mod.rs index e65bca7..2aa5d13 100644 --- a/libc/src/unix/haiku/mod.rs +++ b/libc/src/unix/haiku/mod.rs @@ -1242,6 +1242,7 @@ extern { termp: *mut termios, winp: *mut ::winsize) -> ::pid_t; pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int; + pub fn uname(buf: *mut ::utsname) -> ::c_int; } cfg_if! { -- cgit v1.2.3