Skip to content

Commit 8f666d4

Browse files
committed
Sort FreeBSD's sysconf variables. No functional changes.
1 parent f53b95a commit 8f666d4

File tree

1 file changed

+29
-30
lines changed
  • src/unix/bsd/freebsdlike

1 file changed

+29
-30
lines changed

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -466,36 +466,6 @@ pub const POSIX_MADV_SEQUENTIAL: ::c_int = 2;
466466
pub const POSIX_MADV_WILLNEED: ::c_int = 3;
467467
pub const POSIX_MADV_DONTNEED: ::c_int = 4;
468468

469-
pub const _SC_IOV_MAX: ::c_int = 56;
470-
pub const _SC_GETGR_R_SIZE_MAX: ::c_int = 70;
471-
pub const _SC_GETPW_R_SIZE_MAX: ::c_int = 71;
472-
pub const _SC_LOGIN_NAME_MAX: ::c_int = 73;
473-
pub const _SC_MQ_PRIO_MAX: ::c_int = 75;
474-
pub const _SC_NPROCESSORS_ONLN: ::c_int = 58;
475-
pub const _SC_THREAD_ATTR_STACKADDR: ::c_int = 82;
476-
pub const _SC_THREAD_ATTR_STACKSIZE: ::c_int = 83;
477-
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: ::c_int = 85;
478-
pub const _SC_THREAD_KEYS_MAX: ::c_int = 86;
479-
pub const _SC_THREAD_PRIO_INHERIT: ::c_int = 87;
480-
pub const _SC_THREAD_PRIO_PROTECT: ::c_int = 88;
481-
pub const _SC_THREAD_PRIORITY_SCHEDULING: ::c_int = 89;
482-
pub const _SC_THREAD_PROCESS_SHARED: ::c_int = 90;
483-
pub const _SC_THREAD_SAFE_FUNCTIONS: ::c_int = 91;
484-
pub const _SC_THREAD_STACK_MIN: ::c_int = 93;
485-
pub const _SC_THREAD_THREADS_MAX: ::c_int = 94;
486-
pub const _SC_THREADS: ::c_int = 96;
487-
pub const _SC_TTY_NAME_MAX: ::c_int = 101;
488-
pub const _SC_ATEXIT_MAX: ::c_int = 107;
489-
pub const _SC_XOPEN_CRYPT: ::c_int = 108;
490-
pub const _SC_XOPEN_ENH_I18N: ::c_int = 109;
491-
pub const _SC_XOPEN_LEGACY: ::c_int = 110;
492-
pub const _SC_XOPEN_REALTIME: ::c_int = 111;
493-
pub const _SC_XOPEN_REALTIME_THREADS: ::c_int = 112;
494-
pub const _SC_XOPEN_SHM: ::c_int = 113;
495-
pub const _SC_XOPEN_UNIX: ::c_int = 115;
496-
pub const _SC_XOPEN_VERSION: ::c_int = 116;
497-
pub const _SC_XOPEN_XCU_VERSION: ::c_int = 117;
498-
499469
pub const PTHREAD_CREATE_JOINABLE: ::c_int = 0;
500470
pub const PTHREAD_CREATE_DETACHED: ::c_int = 1;
501471

@@ -739,7 +709,36 @@ pub const _SC_SEM_NSEMS_MAX: ::c_int = 49;
739709
pub const _SC_SEM_VALUE_MAX: ::c_int = 50;
740710
pub const _SC_SIGQUEUE_MAX: ::c_int = 51;
741711
pub const _SC_TIMER_MAX: ::c_int = 52;
712+
pub const _SC_IOV_MAX: ::c_int = 56;
713+
pub const _SC_NPROCESSORS_ONLN: ::c_int = 58;
714+
pub const _SC_GETGR_R_SIZE_MAX: ::c_int = 70;
715+
pub const _SC_GETPW_R_SIZE_MAX: ::c_int = 71;
742716
pub const _SC_HOST_NAME_MAX: ::c_int = 72;
717+
pub const _SC_LOGIN_NAME_MAX: ::c_int = 73;
718+
pub const _SC_MQ_PRIO_MAX: ::c_int = 75;
719+
pub const _SC_THREAD_ATTR_STACKADDR: ::c_int = 82;
720+
pub const _SC_THREAD_ATTR_STACKSIZE: ::c_int = 83;
721+
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: ::c_int = 85;
722+
pub const _SC_THREAD_KEYS_MAX: ::c_int = 86;
723+
pub const _SC_THREAD_PRIO_INHERIT: ::c_int = 87;
724+
pub const _SC_THREAD_PRIO_PROTECT: ::c_int = 88;
725+
pub const _SC_THREAD_PRIORITY_SCHEDULING: ::c_int = 89;
726+
pub const _SC_THREAD_PROCESS_SHARED: ::c_int = 90;
727+
pub const _SC_THREAD_SAFE_FUNCTIONS: ::c_int = 91;
728+
pub const _SC_THREAD_STACK_MIN: ::c_int = 93;
729+
pub const _SC_THREAD_THREADS_MAX: ::c_int = 94;
730+
pub const _SC_THREADS: ::c_int = 96;
731+
pub const _SC_TTY_NAME_MAX: ::c_int = 101;
732+
pub const _SC_ATEXIT_MAX: ::c_int = 107;
733+
pub const _SC_XOPEN_CRYPT: ::c_int = 108;
734+
pub const _SC_XOPEN_ENH_I18N: ::c_int = 109;
735+
pub const _SC_XOPEN_LEGACY: ::c_int = 110;
736+
pub const _SC_XOPEN_REALTIME: ::c_int = 111;
737+
pub const _SC_XOPEN_REALTIME_THREADS: ::c_int = 112;
738+
pub const _SC_XOPEN_SHM: ::c_int = 113;
739+
pub const _SC_XOPEN_UNIX: ::c_int = 115;
740+
pub const _SC_XOPEN_VERSION: ::c_int = 116;
741+
pub const _SC_XOPEN_XCU_VERSION: ::c_int = 117;
743742

744743
pub const PTHREAD_MUTEX_INITIALIZER: pthread_mutex_t = 0 as *mut _;
745744
pub const PTHREAD_COND_INITIALIZER: pthread_cond_t = 0 as *mut _;

0 commit comments

Comments
 (0)