diff options
author | Mikail Bagishov <bagishov.mikail@yandex.ru> | 2020-02-12 23:25:08 +0300 |
---|---|---|
committer | Mikail Bagishov <bagishov.mikail@yandex.ru> | 2020-02-13 19:21:27 +0300 |
commit | 2c1351b8c00e18585eddbf12376ae931245ad9af (patch) | |
tree | b047c38ba8a6ac65fd164fc97ebf3a7b594fbefc /src/sys/statfs.rs | |
parent | 44ece7ca652657e6589ef7a7cd9cf63d4b0c7d5e (diff) | |
download | nix-2c1351b8c00e18585eddbf12376ae931245ad9af.zip |
Make FsType's raw type public
Diffstat (limited to 'src/sys/statfs.rs')
-rw-r--r-- | src/sys/statfs.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/statfs.rs b/src/sys/statfs.rs index f463400e..942b9f8d 100644 --- a/src/sys/statfs.rs +++ b/src/sys/statfs.rs @@ -20,19 +20,19 @@ pub struct Statfs(libc::statfs); #[cfg(target_os = "freebsd")] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(u32); +pub struct FsType(pub u32); #[cfg(target_os = "android")] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(libc::c_ulong); +pub struct FsType(pub libc::c_ulong); #[cfg(all(target_os = "linux", target_arch = "s390x"))] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(u32); +pub struct FsType(pub u32); #[cfg(all(target_os = "linux", target_env = "musl"))] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(libc::c_ulong); +pub struct FsType(pub libc::c_ulong); #[cfg(all(target_os = "linux", not(any(target_arch = "s390x", target_env = "musl"))))] #[derive(Eq, Copy, Clone, PartialEq, Debug)] -pub struct FsType(libc::c_long); +pub struct FsType(pub libc::c_long); #[cfg(all(target_os = "linux", not(target_env = "musl"), not(target_arch = "s390x")))] pub const ADFS_SUPER_MAGIC: FsType = FsType(libc::ADFS_SUPER_MAGIC); |