summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-04-30 14:26:40 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-04-30 14:26:40 +0900
commitbf5d83816f7895f385de20de17cefedadd2e41ff (patch)
treefe7230b0c51206f0045010dcd55ae3b01060a7b5
parent4984947eab8bc4ab26722f81a136da39a9b3d793 (diff)
downloadrust-libc-bf5d83816f7895f385de20de17cefedadd2e41ff.tar.gz
Make some fields private
-rw-r--r--src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs b/src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs
index d3248e2150..9fa0f0a963 100644
--- a/src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs
+++ b/src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs
@@ -36,7 +36,7 @@ s! {
pub st_mtime_nsec: ::c_long,
pub st_ctime: ::time_t,
pub st_ctime_nsec: ::c_long,
- pub __unused: [::c_int; 2usize],
+ __unused: [::c_int; 2usize],
}
pub struct stat64 {
@@ -58,7 +58,7 @@ s! {
pub st_mtime_nsec: ::c_long,
pub st_ctime: ::time_t,
pub st_ctime_nsec: ::c_long,
- pub __unused: [::c_int; 2],
+ __unused: [::c_int; 2],
}
pub struct statfs {
@@ -156,11 +156,11 @@ s! {
pub cuid: ::uid_t,
pub cgid: ::gid_t,
pub mode: ::c_ushort,
- pub __pad1: ::c_ushort,
+ __pad1: ::c_ushort,
pub __seq: ::c_ushort,
- pub __pad2: ::c_ushort,
- pub __unused1: ::c_ulong,
- pub __unused2: ::c_ulong,
+ __pad2: ::c_ushort,
+ __unused1: ::c_ulong,
+ __unused2: ::c_ulong,
}
pub struct shmid_ds {
@@ -172,8 +172,8 @@ s! {
pub shm_cpid: ::pid_t,
pub shm_lpid: ::pid_t,
pub shm_nattch: ::shmatt_t,
- pub __unused5: ::c_ulong,
- pub __unused6: ::c_ulong,
+ __unused5: ::c_ulong,
+ __unused6: ::c_ulong,
}
pub struct flock {