From 49be10a8179165d24bbb8eb3490c4ca6f94b42c4 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Fri, 1 Nov 2019 07:42:33 -0700 Subject: Update libc crate to 0.2.66 This change updates the libc crate to version 0.2.66. Import subrepo libc/:libc at 4f11029a68040c90acf771976b019c1ef273a8cd --- libc/src/unix/uclibc/mips/mips64/mod.rs | 4 ++-- libc/src/unix/uclibc/mips/mips64/no_align.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/src/unix/uclibc/mips/mips64') diff --git a/libc/src/unix/uclibc/mips/mips64/mod.rs b/libc/src/unix/uclibc/mips/mips64/mod.rs index d80762e..735eb85 100644 --- a/libc/src/unix/uclibc/mips/mips64/mod.rs +++ b/libc/src/unix/uclibc/mips/mips64/mod.rs @@ -195,10 +195,10 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56; pub const RLIM_INFINITY: ::rlim_t = 0xffff_ffff_ffff_ffff; -pub const SYS_gettid: ::c_long = 5178; // Valid for n64 +pub const SYS_gettid: ::c_long = 5178; // Valid for n64 #[link(name = "util")] -extern { +extern "C" { pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int; } diff --git a/libc/src/unix/uclibc/mips/mips64/no_align.rs b/libc/src/unix/uclibc/mips/mips64/no_align.rs index ee57ea8..8909114 100644 --- a/libc/src/unix/uclibc/mips/mips64/no_align.rs +++ b/libc/src/unix/uclibc/mips/mips64/no_align.rs @@ -5,4 +5,3 @@ s! { __align: [::c_long; 0], } } - -- cgit v1.2.3