Skip to content

Commit 0c032ab

Browse files
committed
m68k: Fix incorrect scope of multiple struct fields on Linux
1 parent f0a06e2 commit 0c032ab

File tree

1 file changed

+6
-6
lines changed
  • src/unix/linux_like/linux/gnu/b32/m68k

1 file changed

+6
-6
lines changed

src/unix/linux_like/linux/gnu/b32/m68k/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,22 @@ s! {
4949
pub cuid: ::uid_t,
5050
pub cgid: ::gid_t,
5151
pub mode: ::mode_t,
52-
__seq: c_ushort,
53-
__pad1: c_ushort,
54-
__glibc_reserved1: c_ulong,
55-
__glibc_reserved2: c_ulong,
52+
__seq: ::c_ushort,
53+
__pad1: ::c_ushort,
54+
__glibc_reserved1: ::c_ulong,
55+
__glibc_reserved2: ::c_ulong,
5656
}
5757

5858
pub struct stat64 {
5959
pub st_dev: ::dev_t,
60-
__pad1: c_ushort,
60+
__pad1: ::c_ushort,
6161
pub st_ino: ::ino64_t,
6262
pub st_mode: ::mode_t,
6363
pub st_nlink: ::nlink_t,
6464
pub st_uid: ::uid_t,
6565
pub st_gid: ::gid_t,
6666
pub st_rdev: ::dev_t,
67-
__pad2: c_ushort,
67+
__pad2: ::c_ushort,
6868
pub st_size: ::off64_t,
6969
pub st_blksize: ::blksize_t,
7070
pub st_blocks: ::blkcnt64_t,

0 commit comments

Comments
 (0)