aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/uclibc/mips/mips64
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/uclibc/mips/mips64')
-rw-r--r--libc/src/unix/uclibc/mips/mips64/mod.rs4
-rw-r--r--libc/src/unix/uclibc/mips/mips64/no_align.rs1
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],
}
}
-