diff options
author | Alan Somers <asomers@gmail.com> | 2022-10-22 10:23:26 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-10-22 10:23:26 -0600 |
commit | cfa31165a90e171c316b0566b28ad850734bb842 (patch) | |
tree | 65bd7e76200723e363914e92551bc07921bf8382 /src/unix/bsd/netbsdlike | |
parent | 138202dae5b11fc37aaeefe4c4b5bc5cb9c2b8ff (diff) | |
download | rust-libc-cfa31165a90e171c316b0566b28ad850734bb842.tar.gz |
Style fixes, and filter out duplicate definitions
Diffstat (limited to 'src/unix/bsd/netbsdlike')
-rw-r--r-- | src/unix/bsd/netbsdlike/mod.rs | 1 | ||||
-rw-r--r-- | src/unix/bsd/netbsdlike/netbsd/mod.rs | 2 | ||||
-rw-r--r-- | src/unix/bsd/netbsdlike/openbsd/mod.rs | 6 |
3 files changed, 2 insertions, 7 deletions
diff --git a/src/unix/bsd/netbsdlike/mod.rs b/src/unix/bsd/netbsdlike/mod.rs index 3d5ba5e885..6c2096b1d9 100644 --- a/src/unix/bsd/netbsdlike/mod.rs +++ b/src/unix/bsd/netbsdlike/mod.rs @@ -424,7 +424,6 @@ pub const MNT_NODEV: ::c_int = 0x00000010; pub const MNT_LOCAL: ::c_int = 0x00001000; pub const MNT_QUOTA: ::c_int = 0x00002000; - pub const AF_UNSPEC: ::c_int = 0; pub const AF_LOCAL: ::c_int = 1; pub const AF_UNIX: ::c_int = AF_LOCAL; diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index c512e729dc..4b201e3400 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -1793,7 +1793,7 @@ pub const MNT_IGNORE: ::c_int = 0x00100000; pub const MNT_NFS4ACLS: ::c_int = 0x00200000; pub const MNT_DISCARD: ::c_int = 0x00800000; pub const MNT_EXTATTR: ::c_int = 0x01000000; -pub const MNT_LOG: ::c_int = 0x02000000; +pub const MNT_LOG: ::c_int = 0x02000000; pub const MNT_NOATIME: ::c_int = 0x04000000; pub const MNT_AUTOMOUNTED: ::c_int = 0x10000000; pub const MNT_SYMPERM: ::c_int = 0x20000000; diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index 89fe7a9c89..3c966990a5 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -1643,19 +1643,15 @@ pub const SF_APPEND: ::c_uint = 0x00040000; pub const MNT_NOPERM: ::c_int = 0x00000020; pub const MNT_WXALLOWED: ::c_int = 0x00000800; pub const MNT_EXRDONLY: ::c_int = 0x00000080; -pub const MNT_EXPORTED: ::c_int = 0x00000100; pub const MNT_DEFEXPORTED: ::c_int = 0x00000200; pub const MNT_EXPORTANON: ::c_int = 0x00000400; pub const MNT_ROOTFS: ::c_int = 0x00004000; pub const MNT_NOATIME: ::c_int = 0x00008000; -pub const MNT_UPDATE: ::c_int = 0x00010000; pub const MNT_DELEXPORT: ::c_int = 0x00020000; -pub const MNT_RELOAD: ::c_int = 0x00040000; -pub const MNT_FORCE: ::c_int = 0x00080000; pub const MNT_STALLED: ::c_int = 0x00100000; pub const MNT_SWAPPABLE: ::c_int = 0x00200000; pub const MNT_WANTRDWR: ::c_int = 0x02000000; -pub const MNT_SOFTDEP: ::c_int = 0x04000000; +pub const MNT_SOFTDEP: ::c_int = 0x04000000; pub const MNT_DOOMED: ::c_int = 0x08000000; // For use with vfs_fsync and getfsstat |