Skip to content

Commit cfa3116

Browse files
committed
Style fixes, and filter out duplicate definitions
1 parent 138202d commit cfa3116

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ pub const MNT_NODEV: ::c_int = 0x00000010;
424424
pub const MNT_LOCAL: ::c_int = 0x00001000;
425425
pub const MNT_QUOTA: ::c_int = 0x00002000;
426426

427-
428427
pub const AF_UNSPEC: ::c_int = 0;
429428
pub const AF_LOCAL: ::c_int = 1;
430429
pub const AF_UNIX: ::c_int = AF_LOCAL;

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ pub const MNT_IGNORE: ::c_int = 0x00100000;
17931793
pub const MNT_NFS4ACLS: ::c_int = 0x00200000;
17941794
pub const MNT_DISCARD: ::c_int = 0x00800000;
17951795
pub const MNT_EXTATTR: ::c_int = 0x01000000;
1796-
pub const MNT_LOG: ::c_int = 0x02000000;
1796+
pub const MNT_LOG: ::c_int = 0x02000000;
17971797
pub const MNT_NOATIME: ::c_int = 0x04000000;
17981798
pub const MNT_AUTOMOUNTED: ::c_int = 0x10000000;
17991799
pub const MNT_SYMPERM: ::c_int = 0x20000000;

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,19 +1643,15 @@ pub const SF_APPEND: ::c_uint = 0x00040000;
16431643
pub const MNT_NOPERM: ::c_int = 0x00000020;
16441644
pub const MNT_WXALLOWED: ::c_int = 0x00000800;
16451645
pub const MNT_EXRDONLY: ::c_int = 0x00000080;
1646-
pub const MNT_EXPORTED: ::c_int = 0x00000100;
16471646
pub const MNT_DEFEXPORTED: ::c_int = 0x00000200;
16481647
pub const MNT_EXPORTANON: ::c_int = 0x00000400;
16491648
pub const MNT_ROOTFS: ::c_int = 0x00004000;
16501649
pub const MNT_NOATIME: ::c_int = 0x00008000;
1651-
pub const MNT_UPDATE: ::c_int = 0x00010000;
16521650
pub const MNT_DELEXPORT: ::c_int = 0x00020000;
1653-
pub const MNT_RELOAD: ::c_int = 0x00040000;
1654-
pub const MNT_FORCE: ::c_int = 0x00080000;
16551651
pub const MNT_STALLED: ::c_int = 0x00100000;
16561652
pub const MNT_SWAPPABLE: ::c_int = 0x00200000;
16571653
pub const MNT_WANTRDWR: ::c_int = 0x02000000;
1658-
pub const MNT_SOFTDEP: ::c_int = 0x04000000;
1654+
pub const MNT_SOFTDEP: ::c_int = 0x04000000;
16591655
pub const MNT_DOOMED: ::c_int = 0x08000000;
16601656

16611657
// For use with vfs_fsync and getfsstat

0 commit comments

Comments
 (0)