summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan A. Kollasch <jakllsch@kollasch.net>2018-10-30 17:49:31 +0000
committerJonathan A. Kollasch <jakllsch@kollasch.net>2018-10-30 17:49:31 +0000
commit7924fcc24521788893fa1224c3f847f8949df328 (patch)
treefd03d8f4c86a70696c82bb17697c8b337791fa46 /src
parent5cca06280e616027566ccc6434fc8a90c5810aed (diff)
downloadrust-libc-7924fcc24521788893fa1224c3f847f8949df328.tar.gz
NetBSD: fix previous for targets other than aarch64
Diffstat (limited to 'src')
-rw-r--r--src/unix/bsd/netbsdlike/netbsd/arm.rs2
-rw-r--r--src/unix/bsd/netbsdlike/netbsd/powerpc.rs2
-rw-r--r--src/unix/bsd/netbsdlike/netbsd/sparc64.rs2
-rw-r--r--src/unix/bsd/netbsdlike/netbsd/x86.rs2
-rw-r--r--src/unix/bsd/netbsdlike/netbsd/x86_64.rs2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/unix/bsd/netbsdlike/netbsd/arm.rs b/src/unix/bsd/netbsdlike/netbsd/arm.rs
index 94e7d983db..9e673166d6 100644
--- a/src/unix/bsd/netbsdlike/netbsd/arm.rs
+++ b/src/unix/bsd/netbsdlike/netbsd/arm.rs
@@ -3,7 +3,7 @@ use PT_FIRSTMACH;
pub type c_long = i32;
pub type c_ulong = u32;
pub type c_char = u8;
-type __cpu_simple_lock_nv_t = ::c_int;
+pub type __cpu_simple_lock_nv_t = ::c_int;
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;
diff --git a/src/unix/bsd/netbsdlike/netbsd/powerpc.rs b/src/unix/bsd/netbsdlike/netbsd/powerpc.rs
index 802bb3ee5e..54d069e607 100644
--- a/src/unix/bsd/netbsdlike/netbsd/powerpc.rs
+++ b/src/unix/bsd/netbsdlike/netbsd/powerpc.rs
@@ -3,7 +3,7 @@ use PT_FIRSTMACH;
pub type c_long = i32;
pub type c_ulong = u32;
pub type c_char = u8;
-type __cpu_simple_lock_nv_t = ::c_int;
+pub type __cpu_simple_lock_nv_t = ::c_int;
pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
diff --git a/src/unix/bsd/netbsdlike/netbsd/sparc64.rs b/src/unix/bsd/netbsdlike/netbsd/sparc64.rs
index 45a98d51d2..db8f2a94c5 100644
--- a/src/unix/bsd/netbsdlike/netbsd/sparc64.rs
+++ b/src/unix/bsd/netbsdlike/netbsd/sparc64.rs
@@ -1,4 +1,4 @@
pub type c_long = i64;
pub type c_ulong = u64;
pub type c_char = i8;
-type __cpu_simple_lock_t = ::c_uchar;
+pub type __cpu_simple_lock_nv_t = ::c_uchar;
diff --git a/src/unix/bsd/netbsdlike/netbsd/x86.rs b/src/unix/bsd/netbsdlike/netbsd/x86.rs
index d4a2983faa..8bd105841d 100644
--- a/src/unix/bsd/netbsdlike/netbsd/x86.rs
+++ b/src/unix/bsd/netbsdlike/netbsd/x86.rs
@@ -1,4 +1,4 @@
pub type c_long = i32;
pub type c_ulong = u32;
pub type c_char = i8;
-type __cpu_simple_lock_nv_t = ::c_uchar;
+pub type __cpu_simple_lock_nv_t = ::c_uchar;
diff --git a/src/unix/bsd/netbsdlike/netbsd/x86_64.rs b/src/unix/bsd/netbsdlike/netbsd/x86_64.rs
index abe55e87e0..8d3de8453a 100644
--- a/src/unix/bsd/netbsdlike/netbsd/x86_64.rs
+++ b/src/unix/bsd/netbsdlike/netbsd/x86_64.rs
@@ -3,7 +3,7 @@ use PT_FIRSTMACH;
pub type c_long = i64;
pub type c_ulong = u64;
pub type c_char = i8;
-type __cpu_simple_lock_nv_t = ::c_uchar;
+pub type __cpu_simple_lock_nv_t = ::c_uchar;
pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;