diff options
author | Daniel Mueller <deso@posteo.net> | 2019-11-01 07:42:33 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-11-01 07:42:33 -0700 |
commit | 49be10a8179165d24bbb8eb3490c4ca6f94b42c4 (patch) | |
tree | 642978648e57ba8b162a7378e8754df85ca83b37 /libc/src/unix/uclibc/mips/mips64 | |
parent | 9f3991a74fa5124e298582afa60b229dd005be40 (diff) | |
download | nitrocli-49be10a8179165d24bbb8eb3490c4ca6f94b42c4.tar.gz nitrocli-49be10a8179165d24bbb8eb3490c4ca6f94b42c4.tar.bz2 |
Update libc crate to 0.2.66
This change updates the libc crate to version 0.2.66.
Import subrepo libc/:libc at 4f11029a68040c90acf771976b019c1ef273a8cd
Diffstat (limited to 'libc/src/unix/uclibc/mips/mips64')
-rw-r--r-- | libc/src/unix/uclibc/mips/mips64/mod.rs | 4 | ||||
-rw-r--r-- | libc/src/unix/uclibc/mips/mips64/no_align.rs | 1 |
2 files changed, 2 insertions, 3 deletions
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], } } - |