Skip to content

Commit bf5d838

Browse files
committed
Make some fields private
1 parent 4984947 commit bf5d838

File tree

1 file changed

+8
-8
lines changed
  • src/unix/linux_like/linux/gnu/b64/riscv64

1 file changed

+8
-8
lines changed

src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ s! {
3636
pub st_mtime_nsec: ::c_long,
3737
pub st_ctime: ::time_t,
3838
pub st_ctime_nsec: ::c_long,
39-
pub __unused: [::c_int; 2usize],
39+
__unused: [::c_int; 2usize],
4040
}
4141

4242
pub struct stat64 {
@@ -58,7 +58,7 @@ s! {
5858
pub st_mtime_nsec: ::c_long,
5959
pub st_ctime: ::time_t,
6060
pub st_ctime_nsec: ::c_long,
61-
pub __unused: [::c_int; 2],
61+
__unused: [::c_int; 2],
6262
}
6363

6464
pub struct statfs {
@@ -156,11 +156,11 @@ s! {
156156
pub cuid: ::uid_t,
157157
pub cgid: ::gid_t,
158158
pub mode: ::c_ushort,
159-
pub __pad1: ::c_ushort,
159+
__pad1: ::c_ushort,
160160
pub __seq: ::c_ushort,
161-
pub __pad2: ::c_ushort,
162-
pub __unused1: ::c_ulong,
163-
pub __unused2: ::c_ulong,
161+
__pad2: ::c_ushort,
162+
__unused1: ::c_ulong,
163+
__unused2: ::c_ulong,
164164
}
165165

166166
pub struct shmid_ds {
@@ -172,8 +172,8 @@ s! {
172172
pub shm_cpid: ::pid_t,
173173
pub shm_lpid: ::pid_t,
174174
pub shm_nattch: ::shmatt_t,
175-
pub __unused5: ::c_ulong,
176-
pub __unused6: ::c_ulong,
175+
__unused5: ::c_ulong,
176+
__unused6: ::c_ulong,
177177
}
178178

179179
pub struct flock {

0 commit comments

Comments
 (0)