Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove placeholder constants #3620

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,6 @@ IFLA_LINKMODE
IFLA_LINKINFO
IFLA_NET_NS_PID
IFLA_IFALIAS
IFLA_NUM_VF
IFLA_VFINFO_LIST
IFLA_STATS64
IFLA_VF_PORTS
Expand All @@ -774,8 +773,6 @@ IFLA_GROUP
IFLA_NET_NS_FD
IFLA_EXT_MASK
IFLA_PROMISCUITY
IFLA_NUM_TX_QUEUES
IFLA_NUM_RX_QUEUES
IFLA_CARRIER
IFLA_PHYS_PORT_ID
IFLA_CARRIER_CHANGES
Expand All @@ -792,7 +789,6 @@ IFLA_NEW_NETNSID
IFLA_IF_NETNSID
IFLA_TARGET_NETNSID
IFLA_CARRIER_UP_COUNT
IFLA_CARRIER_DOWN_COUNT
IFLA_NEW_IFINDEX
IFLA_MIN_MTU
IFLA_MAX_MTU
Expand Down Expand Up @@ -1384,7 +1380,6 @@ NFNLGRP_NONE
NFNL_MSG_BATCH_BEGIN
NFNL_MSG_BATCH_END
NFNL_SUBSYS_ACCT
NFNL_SUBSYS_COUNT
NFNL_SUBSYS_CTHELPER
NFNL_SUBSYS_CTNETLINK
NFNL_SUBSYS_CTNETLINK_EXP
Expand Down Expand Up @@ -1662,14 +1657,12 @@ NF_IP6_PRI_CONNTRACK_DEFRAG
NF_IP6_PRI_CONNTRACK_HELPER
NF_IP6_PRI_FILTER
NF_IP6_PRI_FIRST
NF_IP6_PRI_LAST
NF_IP6_PRI_MANGLE
NF_IP6_PRI_NAT_DST
NF_IP6_PRI_NAT_SRC
NF_IP6_PRI_RAW
NF_IP6_PRI_SECURITY
NF_IP6_PRI_SELINUX_FIRST
NF_IP6_PRI_SELINUX_LAST
NF_IP_FORWARD
NF_IP_LOCAL_IN
NF_IP_LOCAL_OUT
Expand All @@ -1682,14 +1675,12 @@ NF_IP_PRI_CONNTRACK_DEFRAG
NF_IP_PRI_CONNTRACK_HELPER
NF_IP_PRI_FILTER
NF_IP_PRI_FIRST
NF_IP_PRI_LAST
NF_IP_PRI_MANGLE
NF_IP_PRI_NAT_DST
NF_IP_PRI_NAT_SRC
NF_IP_PRI_RAW
NF_IP_PRI_SECURITY
NF_IP_PRI_SELINUX_FIRST
NF_IP_PRI_SELINUX_LAST
NF_MAX_VERDICT
NF_NETDEV_INGRESS
NF_NETDEV_NUMHOOKS
Expand Down
14 changes: 0 additions & 14 deletions libc-test/semver/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ ATF_COM
ATF_PERM
ATF_PUBL
ATF_USETRAILERS
ATTR_BIT_MAP_COUNT
ATTR_CMNEXT_CLONEID
ATTR_CMNEXT_EXT_FLAGS
ATTR_CMNEXT_LINKID
Expand All @@ -96,7 +95,6 @@ ATTR_CMN_FLAGS
ATTR_CMN_FNDRINFO
ATTR_CMN_FSID
ATTR_CMN_FULLPATH
ATTR_CMN_GEN_COUNT
ATTR_CMN_GRPID
ATTR_CMN_GRPUUID
ATTR_CMN_MODTIME
Expand Down Expand Up @@ -1373,29 +1371,18 @@ TCP_NOOPT
TCP_NOPUSH
THOUSEP
THREAD_AFFINITY_POLICY
THREAD_AFFINITY_POLICY_COUNT
THREAD_AFFINITY_TAG_NULL
THREAD_BACKGROUND_POLICY
THREAD_BACKGROUND_POLICY_COUNT
THREAD_BACKGROUND_POLICY_DARWIN_BG
THREAD_BASIC_INFO
THREAD_BASIC_INFO_COUNT
THREAD_EXTENDED_INFO
THREAD_EXTENDED_INFO_COUNT
THREAD_EXTENDED_POLICY
THREAD_EXTENDED_POLICY_COUNT
THREAD_IDENTIFIER_INFO
THREAD_IDENTIFIER_INFO_COUNT
THREAD_LATENCY_QOS_POLICY
THREAD_LATENCY_QOS_POLICY_COUNT
THREAD_PRECEDENCE_POLICY
THREAD_PRECEDENCE_POLICY_COUNT
THREAD_STANDARD_POLICY
THREAD_STANDARD_POLICY_COUNT
THREAD_THROUGHPUT_QOS_POLICY
THREAD_THROUGHPUT_QOS_POLICY_COUNT
THREAD_TIME_CONSTRAINT_POLICY
THREAD_TIME_CONSTRAINT_POLICY_COUNT
TH_FLAGS_GLOBAL_FORCED_IDLE
TH_FLAGS_IDLE
TH_FLAGS_SWAPPED
Expand Down Expand Up @@ -1549,7 +1536,6 @@ VOL_CAP_FMT_SHARED_SPACE
VOL_CAP_FMT_SPARSE_FILES
VOL_CAP_FMT_SYMBOLICLINKS
VOL_CAP_FMT_VOL_GROUPS
VOL_CAP_FMT_WRITE_GENERATION_COUNT
VOL_CAP_FMT_ZERO_RUNS
VOL_CAP_INT_ADVLOCK
VOL_CAP_INT_ALLOCATE
Expand Down
2 changes: 0 additions & 2 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ CPUCTL_CPUID
CPUCTL_UPDATE
CPUCTL_MSRSBIT
CPUCTL_MSRCBIT
CPUCTL_CPUID_COUNT
CRNCYSTR
CRTSCTS
CRTS_IFLOW
Expand Down Expand Up @@ -1074,7 +1073,6 @@ USER_STREAM_MAX
USER_TZNAME_MAX
UTIME_NOW
UTIME_OMIT
UTX_DB_LASTLOG
UTX_DB_UTMPX
UTX_DB_WTMPX
VCHECKPT
Expand Down
1 change: 0 additions & 1 deletion libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,6 @@ USER_TZNAME_MAX
UTIME_NOW
UTIME_OMIT
UTXDB_ACTIVE
UTXDB_LASTLOGIN
UTXDB_LOG
VDISCARD
VDSUSP
Expand Down
11 changes: 0 additions & 11 deletions libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -989,8 +989,6 @@ IFLA_ALT_IFNAME
IFLA_BROADCAST
IFLA_CARRIER
IFLA_CARRIER_CHANGES
IFLA_CARRIER_DOWN_COUNT
IFLA_CARRIER_UP_COUNT
IFLA_COST
IFLA_EVENT
IFLA_EXT_MASK
Expand Down Expand Up @@ -1020,9 +1018,6 @@ IFLA_NET_NS_FD
IFLA_NET_NS_PID
IFLA_NEW_IFINDEX
IFLA_NEW_NETNSID
IFLA_NUM_RX_QUEUES
IFLA_NUM_TX_QUEUES
IFLA_NUM_VF
IFLA_OPERSTATE
IFLA_PAD
IFLA_PARENT_DEV_BUS_NAME
Expand Down Expand Up @@ -1586,7 +1581,6 @@ NFNLGRP_NONE
NFNL_MSG_BATCH_BEGIN
NFNL_MSG_BATCH_END
NFNL_SUBSYS_ACCT
NFNL_SUBSYS_COUNT
NFNL_SUBSYS_CTHELPER
NFNL_SUBSYS_CTNETLINK
NFNL_SUBSYS_CTNETLINK_EXP
Expand Down Expand Up @@ -1710,14 +1704,12 @@ NF_IP6_PRI_CONNTRACK_DEFRAG
NF_IP6_PRI_CONNTRACK_HELPER
NF_IP6_PRI_FILTER
NF_IP6_PRI_FIRST
NF_IP6_PRI_LAST
NF_IP6_PRI_MANGLE
NF_IP6_PRI_NAT_DST
NF_IP6_PRI_NAT_SRC
NF_IP6_PRI_RAW
NF_IP6_PRI_SECURITY
NF_IP6_PRI_SELINUX_FIRST
NF_IP6_PRI_SELINUX_LAST
NF_IP_FORWARD
NF_IP_LOCAL_IN
NF_IP_LOCAL_OUT
Expand All @@ -1730,14 +1722,12 @@ NF_IP_PRI_CONNTRACK_DEFRAG
NF_IP_PRI_CONNTRACK_HELPER
NF_IP_PRI_FILTER
NF_IP_PRI_FIRST
NF_IP_PRI_LAST
NF_IP_PRI_MANGLE
NF_IP_PRI_NAT_DST
NF_IP_PRI_NAT_SRC
NF_IP_PRI_RAW
NF_IP_PRI_SECURITY
NF_IP_PRI_SELINUX_FIRST
NF_IP_PRI_SELINUX_LAST
NF_MAX_VERDICT
NF_QUEUE
NF_REPEAT
Expand Down Expand Up @@ -2751,7 +2741,6 @@ IW_MICFAILURE_KEY_ID
IW_MICFAILURE_GROUP
IW_MICFAILURE_PAIRWISE
IW_MICFAILURE_STAKEY
IW_MICFAILURE_COUNT
IW_ENC_CAPA_WPA
IW_ENC_CAPA_WPA2
IW_ENC_CAPA_CIPHER_TKIP
Expand Down
2 changes: 0 additions & 2 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ DCCP_OPT_DATACHECKSUM
DCCP_OPT_DATA_DISCARD
DCCP_OPT_ELAPSEDTIME
DCCP_OPT_INIT_COOKIE
DCCP_OPT_NDP_COUNT
DCCP_OPT_PADDING
DCCP_OPT_RECV_BUF_DROPS
DCCP_OPT_SLOW_RECV
Expand All @@ -239,7 +238,6 @@ DCCP_REASON_INV_MOVE
DCCP_REASON_OPTION_ERR
DCCP_REASON_UNANSW_CH
DCCP_REASON_UNSPEC
DCCP_SEQ_NUM_LIMIT
DCCP_SERVICE
DCCP_TYPE_ACK
DCCP_TYPE_CLOSE
Expand Down
1 change: 0 additions & 1 deletion src/solid/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ pub const LC_MONETARY: c_int = 3;
pub const LC_NUMERIC: c_int = 4;
pub const LC_TIME: c_int = 5;
pub const LC_MESSAGES: c_int = 6;
pub const _LC_LAST: c_int = 7;

pub const EPERM: c_int = 1;
pub const ENOENT: c_int = 2;
Expand Down
2 changes: 0 additions & 2 deletions src/unix/aix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,6 @@ pub const LPAR_INFO_FORMAT1: ::c_int = 1;
pub const LPAR_INFO_FORMAT2: ::c_int = 2;
pub const WPAR_INFO_FORMAT: ::c_int = 3;
pub const PROC_MODULE_INFO: ::c_int = 4;
pub const NUM_PROC_MODULE_TYPES: ::c_int = 5;
pub const LPAR_INFO_VRME_NUM_POOLS: ::c_int = 6;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const LPAR_INFO_VRME_POOLS: ::c_int = 7;
pub const LPAR_INFO_VRME_LPAR: ::c_int = 8;
pub const LPAR_INFO_VRME_RESET_HWMARKS: ::c_int = 9;
Expand Down
44 changes: 0 additions & 44 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4990,7 +4990,6 @@ pub const MNT_NOWAIT: ::c_int = 2;

// <mach/thread_policy.h>
pub const THREAD_STANDARD_POLICY: ::c_int = 1;
pub const THREAD_STANDARD_POLICY_COUNT: ::c_int = 0;
pub const THREAD_EXTENDED_POLICY: ::c_int = 1;
pub const THREAD_TIME_CONSTRAINT_POLICY: ::c_int = 2;
pub const THREAD_PRECEDENCE_POLICY: ::c_int = 3;
Expand Down Expand Up @@ -5052,7 +5051,6 @@ pub const VM_PAGE_QUERY_PAGE_CS_NX: i32 = 0x400;

// mach/task_info.h
pub const TASK_THREAD_TIMES_INFO: u32 = 3;
pub const HOST_CPU_LOAD_INFO_COUNT: u32 = 4;
pub const MACH_TASK_BASIC_INFO: u32 = 20;

pub const MACH_PORT_NULL: i32 = 0;
Expand Down Expand Up @@ -5114,7 +5112,6 @@ pub const COPYFILE_STATE_DST_BSIZE: ::c_int = 12;
pub const COPYFILE_STATE_BSIZE: ::c_int = 13;

// <sys/attr.h>
pub const ATTR_BIT_MAP_COUNT: ::c_ushort = 5;
pub const FSOPT_NOFOLLOW: u32 = 0x1;
pub const FSOPT_NOFOLLOW_ANY: u32 = 0x800;
pub const FSOPT_REPORT_FULLSIZE: u32 = 0x4;
Expand All @@ -5140,7 +5137,6 @@ pub const ATTR_CMN_OWNERID: attrgroup_t = 0x00008000;
pub const ATTR_CMN_GRPID: attrgroup_t = 0x00010000;
pub const ATTR_CMN_ACCESSMASK: attrgroup_t = 0x00020000;
pub const ATTR_CMN_FLAGS: attrgroup_t = 0x00040000;
pub const ATTR_CMN_GEN_COUNT: attrgroup_t = 0x00080000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const ATTR_CMN_DOCUMENT_ID: attrgroup_t = 0x00100000;
pub const ATTR_CMN_USERACCESS: attrgroup_t = 0x00200000;
pub const ATTR_CMN_EXTENDED_SECURITY: attrgroup_t = 0x00400000;
Expand Down Expand Up @@ -5225,7 +5221,6 @@ pub const VOL_CAP_FMT_DECMPFS_COMPRESSION: attrgroup_t = 0x00010000;
pub const VOL_CAP_FMT_64BIT_OBJECT_IDS: attrgroup_t = 0x00020000;
pub const VOL_CAP_FMT_DIR_HARDLINKS: attrgroup_t = 0x00040000;
pub const VOL_CAP_FMT_DOCUMENT_ID: attrgroup_t = 0x00080000;
pub const VOL_CAP_FMT_WRITE_GENERATION_COUNT: attrgroup_t = 0x00100000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const VOL_CAP_FMT_NO_IMMUTABLE_FILES: attrgroup_t = 0x00200000;
pub const VOL_CAP_FMT_NO_PERMISSIONS: attrgroup_t = 0x00400000;
pub const VOL_CAP_FMT_SHARED_SPACE: attrgroup_t = 0x00800000;
Expand Down Expand Up @@ -5276,45 +5271,6 @@ const fn __DARWIN_ALIGN32(p: usize) -> usize {
p + __DARWIN_ALIGNBYTES32 & !__DARWIN_ALIGNBYTES32
}

pub const THREAD_EXTENDED_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_extended_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_TIME_CONSTRAINT_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_time_constraint_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_PRECEDENCE_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_precedence_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_AFFINITY_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_affinity_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_BACKGROUND_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_background_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_LATENCY_QOS_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_latency_qos_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_THROUGHPUT_QOS_POLICY_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_throughput_qos_policy_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_BASIC_INFO_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_basic_info_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_IDENTIFIER_INFO_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_identifier_info_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;
pub const THREAD_EXTENDED_INFO_COUNT: mach_msg_type_number_t =
(::mem::size_of::<thread_extended_info_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;

pub const TASK_THREAD_TIMES_INFO_COUNT: u32 =
(::mem::size_of::<task_thread_times_info_data_t>() / ::mem::size_of::<natural_t>()) as u32;
pub const MACH_TASK_BASIC_INFO_COUNT: u32 =
(::mem::size_of::<mach_task_basic_info_data_t>() / ::mem::size_of::<natural_t>()) as u32;
pub const HOST_VM_INFO64_COUNT: mach_msg_type_number_t =
(::mem::size_of::<vm_statistics64_data_t>() / ::mem::size_of::<integer_t>())
as mach_msg_type_number_t;

f! {
pub fn CMSG_NXTHDR(mhdr: *const ::msghdr,
cmsg: *const ::cmsghdr) -> *mut ::cmsghdr {
Expand Down
2 changes: 0 additions & 2 deletions src/unix/bsd/freebsdlike/dragonfly/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,6 @@ pub const CPUCTL_CPUID: ::c_int = 0xc0106303;
pub const CPUCTL_UPDATE: ::c_int = 0xc0106304;
pub const CPUCTL_MSRSBIT: ::c_int = 0xc0106305;
pub const CPUCTL_MSRCBIT: ::c_int = 0xc0106306;
pub const CPUCTL_CPUID_COUNT: ::c_int = 0xc0106307;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.


pub const CPU_SETSIZE: ::size_t = ::mem::size_of::<::cpumask_t>() * 8;

Expand Down Expand Up @@ -1436,7 +1435,6 @@ pub const DOWNTIME: ::c_short = 11;
// utmpx database types
pub const UTX_DB_UTMPX: ::c_uint = 0;
pub const UTX_DB_WTMPX: ::c_uint = 1;
pub const UTX_DB_LASTLOG: ::c_uint = 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const _UTX_LINESIZE: usize = 32;
pub const _UTX_USERSIZE: usize = 32;
pub const _UTX_IDSIZE: usize = 4;
Expand Down
1 change: 0 additions & 1 deletion src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3680,7 +3680,6 @@ pub const DEAD_PROCESS: ::c_short = 7;
pub const SHUTDOWN_TIME: ::c_short = 8;
// utmp database types
pub const UTXDB_ACTIVE: ::c_int = 0;
pub const UTXDB_LASTLOGIN: ::c_int = 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const UTXDB_LOG: ::c_int = 2;

pub const LC_COLLATE_MASK: ::c_int = 1 << 0;
Expand Down
2 changes: 0 additions & 2 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,6 @@ pub const DCCP_OPT_CONFIRM_L: ::c_int = 33;
pub const DCCP_OPT_CHANGE_R: ::c_int = 34;
pub const DCCP_OPT_CONFIRM_R: ::c_int = 35;
pub const DCCP_OPT_INIT_COOKIE: ::c_int = 36;
pub const DCCP_OPT_NDP_COUNT: ::c_int = 37;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const DCCP_OPT_ACK_VECTOR0: ::c_int = 38;
pub const DCCP_OPT_ACK_VECTOR1: ::c_int = 39;
pub const DCCP_OPT_RECV_BUF_DROPS: ::c_int = 40;
Expand All @@ -1757,7 +1756,6 @@ pub const DCCP_MAXSEG: ::c_int = 4;
pub const DCCP_SERVICE: ::c_int = 8;

pub const DCCP_NDP_LIMIT: ::c_int = 16;
pub const DCCP_SEQ_NUM_LIMIT: ::c_int = 16777216;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const DCCP_MAX_OPTIONS: ::c_int = 32;
pub const DCCP_MAX_PKTS: ::c_int = 100;

Expand Down
2 changes: 0 additions & 2 deletions src/unix/haiku/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,6 @@ pub const B_RESOURCE_UNAVAILABLE: status_t = B_MEDIA_ERROR_BASE + 3;
pub const B_BAD_SUBSCRIBER: status_t = B_MEDIA_ERROR_BASE + 4;
pub const B_SUBSCRIBER_NOT_ENTERED: status_t = B_MEDIA_ERROR_BASE + 5;
pub const B_BUFFER_NOT_AVAILABLE: status_t = B_MEDIA_ERROR_BASE + 6;
pub const B_LAST_BUFFER_ERROR: status_t = B_MEDIA_ERROR_BASE + 7;

pub const B_MEDIA_SYSTEM_FAILURE: status_t = B_MEDIA_ERROR_BASE + 100;
pub const B_MEDIA_BAD_NODE: status_t = B_MEDIA_ERROR_BASE + 101;
Expand All @@ -835,7 +834,6 @@ pub const B_MEDIA_BAD_CLIP_FORMAT: status_t = B_MEDIA_ERROR_BASE + 121;
pub const B_MEDIA_ADDON_FAILED: status_t = B_MEDIA_ERROR_BASE + 122;
pub const B_MEDIA_ADDON_DISABLED: status_t = B_MEDIA_ERROR_BASE + 123;
pub const B_MEDIA_CHANGE_IN_PROGRESS: status_t = B_MEDIA_ERROR_BASE + 124;
pub const B_MEDIA_STALE_CHANGE_COUNT: status_t = B_MEDIA_ERROR_BASE + 125;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const B_MEDIA_ADDON_RESTRICTED: status_t = B_MEDIA_ERROR_BASE + 126;
pub const B_MEDIA_NO_HANDLER: status_t = B_MEDIA_ERROR_BASE + 127;
pub const B_MEDIA_DUPLICATE_FORMAT: status_t = B_MEDIA_ERROR_BASE + 128;
Expand Down
1 change: 0 additions & 1 deletion src/unix/hurd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3375,7 +3375,6 @@ pub const TCP_FIN_WAIT2: ::c_uint = 5;
pub const TCP_TIME_WAIT: ::c_uint = 6;
pub const TCP_CLOSE: ::c_uint = 7;
pub const TCP_CLOSE_WAIT: ::c_uint = 8;
pub const TCP_LAST_ACK: ::c_uint = 9;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a placeholder.

pub const TCP_LISTEN: ::c_uint = 10;
pub const TCP_CLOSING: ::c_uint = 11;

Expand Down
Loading
Loading