summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/macros.rs1
-rw-r--r--src/sys/statvfs.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.rs b/src/macros.rs
index 2d356441..adff2bc6 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -64,6 +64,7 @@ macro_rules! libc_bitflags {
) => {
::bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
+ #[repr(transparent)]
$(#[$outer])*
pub struct $BitFlags: $T {
$(
diff --git a/src/sys/statvfs.rs b/src/sys/statvfs.rs
index c2c86624..35424e5e 100644
--- a/src/sys/statvfs.rs
+++ b/src/sys/statvfs.rs
@@ -12,7 +12,6 @@ use crate::{errno::Errno, NixPath, Result};
#[cfg(not(target_os = "redox"))]
libc_bitflags!(
/// File system mount Flags
- #[repr(C)]
#[derive(Default)]
pub struct FsFlags: c_ulong {
/// Read Only