File tree Expand file tree Collapse file tree 10 files changed +5
-16
lines changed
Expand file tree Collapse file tree 10 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -233,12 +233,10 @@ pub const POSIX_FADV_DONTNEED: ::c_int = 4;
233233pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
234234pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
235235pub const _SC_2_C_VERSION: :: c_int = 96 ;
236- pub const RUSAGE_THREAD : :: c_int = 1 ;
237236pub const O_ACCMODE : :: c_int = 3 ;
238237pub const O_DIRECT : :: c_int = 0x8000 ;
239238pub const O_DIRECTORY : :: c_int = 0x10000 ;
240239pub const O_NOFOLLOW : :: c_int = 0x20000 ;
241- pub const RUSAGE_CHILDREN : :: c_int = -1 ;
242240pub const ST_RELATIME : :: c_ulong = 4096 ;
243241pub const NI_MAXHOST : :: socklen_t = 1025 ;
244242
Original file line number Diff line number Diff line change @@ -281,6 +281,9 @@ pub const CODESET: ::nl_item = 14;
281281
282282pub const CRNCYSTR : :: nl_item = 0x4000F ;
283283
284+ pub const RUSAGE_THREAD : :: c_int = 1 ;
285+ pub const RUSAGE_CHILDREN : :: c_int = -1 ;
286+
284287pub const RADIXCHAR : :: nl_item = 0x10000 ;
285288pub const THOUSEP : :: nl_item = 0x10001 ;
286289
Original file line number Diff line number Diff line change @@ -332,7 +332,5 @@ pub const TIOCCONS: ::c_int = 0x541D;
332332pub const SYS_gettid : :: c_long = 224 ;
333333pub const SYS_perf_event_open : :: c_long = 364 ;
334334
335- pub const POSIX_MADV_DONTNEED : :: c_int = 0 ;
336- pub const RUSAGE_CHILDREN : :: c_int = 1 ;
337335pub const POLLWRNORM : :: c_short = 0x100 ;
338336pub const POLLWRBAND : :: c_short = 0x200 ;
Original file line number Diff line number Diff line change @@ -331,7 +331,5 @@ pub const TIOCCONS: ::c_int = 0x541D;
331331
332332pub const SYS_gettid : :: c_long = 224 ; // Valid for arm (32-bit) and x86 (32-bit)
333333
334- pub const POSIX_MADV_DONTNEED : :: c_int = 0 ;
335- pub const RUSAGE_CHILDREN : :: c_int = 1 ;
336334pub const POLLWRNORM : :: c_short = 0x100 ;
337335pub const POLLWRBAND : :: c_short = 0x200 ;
Original file line number Diff line number Diff line change @@ -340,7 +340,5 @@ pub const TIOCCONS: ::c_int = 0x80047478;
340340pub const SYS_gettid : :: c_long = 4222 ; // Valid for O32
341341pub const SYS_perf_event_open : :: c_long = 4333 ; // Valid for O32
342342
343- pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
344- pub const RUSAGE_CHILDREN : :: c_int = !0 ;
345343pub const POLLWRNORM : :: c_short = 0x4 ;
346344pub const POLLWRBAND : :: c_short = 0x100 ;
Original file line number Diff line number Diff line change @@ -346,7 +346,5 @@ pub const TIOCCONS: ::c_int = 0x541D;
346346pub const SYS_gettid : :: c_long = 224 ;
347347pub const SYS_perf_event_open : :: c_long = 336 ;
348348
349- pub const POSIX_MADV_DONTNEED : :: c_int = 0 ;
350- pub const RUSAGE_CHILDREN : :: c_int = 1 ;
351349pub const POLLWRNORM : :: c_short = 0x100 ;
352350pub const POLLWRBAND : :: c_short = 0x200 ;
Original file line number Diff line number Diff line change @@ -351,8 +351,6 @@ pub const TIOCMSET: ::c_int = 0x5418;
351351pub const FIONREAD : :: c_int = 0x541B ;
352352pub const TIOCCONS : :: c_int = 0x541D ;
353353
354- pub const POSIX_MADV_DONTNEED : :: c_int = 0 ;
355- pub const RUSAGE_CHILDREN : :: c_int = 1 ;
356354pub const POLLWRNORM : :: c_short = 0x100 ;
357355pub const POLLWRBAND : :: c_short = 0x200 ;
358356
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ pub const PTHREAD_STACK_MIN: ::size_t = 2048;
7777pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
7878pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
7979
80+ pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
81+
8082pub const RLIM_INFINITY : :: rlim_t = !0 ;
8183pub const RLIMIT_RTTIME : :: c_int = 15 ;
8284pub const RLIMIT_NLIMITS : :: c_int = 16 ;
Original file line number Diff line number Diff line change @@ -360,11 +360,9 @@ pub const POSIX_FADV_DONTNEED: ::c_int = 4;
360360pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
361361pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
362362pub const _SC_2_C_VERSION: :: c_int = 96 ;
363- pub const RUSAGE_THREAD : :: c_int = 1 ;
364363pub const O_ACCMODE : :: c_int = 3 ;
365364pub const O_ASYNC : :: c_int = 0x2000 ;
366365pub const O_NDELAY : :: c_int = 0x800 ;
367- pub const RUSAGE_CHILDREN : :: c_int = -1 ;
368366pub const ST_RELATIME : :: c_ulong = 4096 ;
369367pub const NI_MAXHOST : :: socklen_t = 1025 ;
370368
Original file line number Diff line number Diff line change @@ -464,10 +464,8 @@ pub const TMP_MAX: ::c_uint = 238328;
464464pub const FOPEN_MAX : :: c_uint = 16 ;
465465pub const POSIX_MADV_DONTNEED : :: c_int = 4 ;
466466pub const _SC_2_C_VERSION: :: c_int = 96 ;
467- pub const RUSAGE_THREAD : :: c_int = 1 ;
468467pub const O_ASYNC : :: c_int = 0x2000 ;
469468pub const O_NDELAY : :: c_int = 0x800 ;
470- pub const RUSAGE_CHILDREN : :: c_int = -1 ;
471469pub const ST_RELATIME : :: c_ulong = 4096 ;
472470pub const NI_MAXHOST : :: socklen_t = 1025 ;
473471
You can’t perform that action at this time.
0 commit comments