Skip to content

Commit e91606d

Browse files
committed
Common up all definitions of MS_RMT_MASK, since they're all equal now.
1 parent 9b53e54 commit e91606d

File tree

5 files changed

+1
-8
lines changed

5 files changed

+1
-8
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,6 @@ pub const IEXTEN: ::tcflag_t = 0x00008000;
410410
pub const TOSTOP: ::tcflag_t = 0x00000100;
411411
pub const FLUSHO: ::tcflag_t = 0x00001000;
412412

413-
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
414-
415413
pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
416414
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
417415
pub const CODA_SUPER_MAGIC: ::c_long = 0x73757245;

src/unix/notbsd/linux/mips.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,6 @@ pub const SIG_UNBLOCK: ::c_int = 0x2;
356356

357357
pub const PTHREAD_STACK_MIN: ::size_t = 131072;
358358

359-
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
360-
361359
pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
362360
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
363361
pub const CODA_SUPER_MAGIC: ::c_long = 0x73757245;

src/unix/notbsd/linux/musl.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,6 @@ pub const MADV_DONTDUMP: ::c_int = 16;
392392

393393
pub const EPOLLWAKEUP: ::c_int = 0x20000000;
394394

395-
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
396-
397395
pub const MADV_HUGEPAGE: ::c_int = 14;
398396
pub const MADV_NOHUGEPAGE: ::c_int = 15;
399397
pub const MAP_HUGETLB: ::c_int = 0x040000;

src/unix/notbsd/linux/other/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,6 @@ pub const RUSAGE_CHILDREN: ::c_int = -1;
283283
pub const ST_RELATIME: ::c_ulong = 4096;
284284
pub const NI_MAXHOST: ::socklen_t = 1025;
285285

286-
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
287-
288286
pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
289287
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
290288
pub const CODA_SUPER_MAGIC: ::c_long = 0x73757245;

src/unix/notbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ pub const MS_ACTIVE: ::c_ulong = 0x40000000;
254254
pub const MS_NOUSER: ::c_ulong = 0x80000000;
255255
pub const MS_MGC_VAL: ::c_ulong = 0xc0ed0000;
256256
pub const MS_MGC_MSK: ::c_ulong = 0xffff0000;
257+
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
257258

258259
pub const EPERM: ::c_int = 1;
259260
pub const ENOENT: ::c_int = 2;

0 commit comments

Comments
 (0)