Skip to content

Commit 53e3aa3

Browse files
committed
Fix utmpx.ut_session type on sparc64
1 parent 063139a commit 53e3aa3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/unix/notbsd/linux/mips/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ pub const NFT_MSG_NEWOBJ: ::c_int = 18;
766766
pub const NFT_MSG_GETOBJ: ::c_int = 19;
767767
pub const NFT_MSG_DELOBJ: ::c_int = 20;
768768
pub const NFT_MSG_GETOBJ_RESET: ::c_int = 21;
769-
pub const NFT_MSG_MAX: ::c_int = 22;
769+
pub const NFT_MSG_MAX: ::c_int = 25;
770770

771771
pub const NFT_SET_ANONYMOUS: ::c_int = 0x1;
772772
pub const NFT_SET_CONSTANT: ::c_int = 0x2;

src/unix/notbsd/linux/other/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ s_no_extra_traits! {
225225
pub ut_exit: __exit_status,
226226

227227
#[cfg(any(target_arch = "aarch64",
228-
target_arch = "sparc64",
229228
all(target_pointer_width = "32",
230229
not(target_arch = "x86_64"))))]
231230
pub ut_session: ::c_long,
@@ -236,7 +235,6 @@ s_no_extra_traits! {
236235
pub ut_tv: ::timeval,
237236

238237
#[cfg(not(any(target_arch = "aarch64",
239-
target_arch = "sparc64",
240238
all(target_pointer_width = "32",
241239
not(target_arch = "x86_64")))))]
242240
pub ut_session: ::int32_t,

0 commit comments

Comments
 (0)