Skip to content

Commit 5c2ce3e

Browse files
committed
Move constant to GNU
1 parent 590d2a4 commit 5c2ce3e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/unix/linux_like/linux/gnu/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,9 @@ pub const NT_PRFPXREG: ::c_int = 20;
944944

945945
pub const ELFOSABI_ARM_AEABI: u8 = 64;
946946

947+
// linux/sched.h
948+
pub const CLONE_NEWTIME: ::c_int = 0x80;
949+
947950
// linux/keyctl.h
948951
pub const KEYCTL_DH_COMPUTE: u32 = 23;
949952
pub const KEYCTL_PKEY_QUERY: u32 = 24;

src/unix/linux_like/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,6 @@ pub const ONLRET: ::tcflag_t = 0o000040;
11561156
pub const OFILL: ::tcflag_t = 0o000100;
11571157
pub const OFDEL: ::tcflag_t = 0o000200;
11581158

1159-
pub const CLONE_NEWTIME: ::c_int = 0x80;
11601159
pub const CLONE_VM: ::c_int = 0x100;
11611160
pub const CLONE_FS: ::c_int = 0x200;
11621161
pub const CLONE_FILES: ::c_int = 0x400;

0 commit comments

Comments
 (0)