Skip to content

Commit 7924fcc

Browse files
committed
NetBSD: fix previous for targets other than aarch64
1 parent 5cca062 commit 7924fcc

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/unix/bsd/netbsdlike/netbsd/arm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use PT_FIRSTMACH;
33
pub type c_long = i32;
44
pub type c_ulong = u32;
55
pub type c_char = u8;
6-
type __cpu_simple_lock_nv_t = ::c_int;
6+
pub type __cpu_simple_lock_nv_t = ::c_int;
77

88
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
99
pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;

src/unix/bsd/netbsdlike/netbsd/powerpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use PT_FIRSTMACH;
33
pub type c_long = i32;
44
pub type c_ulong = u32;
55
pub type c_char = u8;
6-
type __cpu_simple_lock_nv_t = ::c_int;
6+
pub type __cpu_simple_lock_nv_t = ::c_int;
77

88
pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
99
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub type c_long = i64;
22
pub type c_ulong = u64;
33
pub type c_char = i8;
4-
type __cpu_simple_lock_t = ::c_uchar;
4+
pub type __cpu_simple_lock_nv_t = ::c_uchar;

src/unix/bsd/netbsdlike/netbsd/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub type c_long = i32;
22
pub type c_ulong = u32;
33
pub type c_char = i8;
4-
type __cpu_simple_lock_nv_t = ::c_uchar;
4+
pub type __cpu_simple_lock_nv_t = ::c_uchar;

src/unix/bsd/netbsdlike/netbsd/x86_64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use PT_FIRSTMACH;
33
pub type c_long = i64;
44
pub type c_ulong = u64;
55
pub type c_char = i8;
6-
type __cpu_simple_lock_nv_t = ::c_uchar;
6+
pub type __cpu_simple_lock_nv_t = ::c_uchar;
77

88
pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
99
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;

0 commit comments

Comments
 (0)