summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2022-10-24 19:46:06 +0100
committerDavid Carlier <devnexen@gmail.com>2022-10-25 06:42:47 +0100
commit4ba884ac1857fdff1222497fea829e3b8dcf61b5 (patch)
tree57a87c49afd818f4547a8504feb6bdea6cb8498b
parent09ad0b37f3d9d9a12c6a86251cf0b3f035125bcd (diff)
downloadrust-libc-4ba884ac1857fdff1222497fea829e3b8dcf61b5.tar.gz
follow-up on #2963, changing MSG* constant types for musl/emscripten.
-rw-r--r--src/unix/linux_like/mod.rs72
1 files changed, 0 insertions, 72 deletions
diff --git a/src/unix/linux_like/mod.rs b/src/unix/linux_like/mod.rs
index 63e1e75b76..46964cc173 100644
--- a/src/unix/linux_like/mod.rs
+++ b/src/unix/linux_like/mod.rs
@@ -759,95 +759,23 @@ pub const PF_IEEE802154: ::c_int = AF_IEEE802154;
pub const PF_CAIF: ::c_int = AF_CAIF;
pub const PF_ALG: ::c_int = AF_ALG;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_OOB: ::c_int = 1;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_PEEK: ::c_int = 2;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_DONTROUTE: ::c_int = 4;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_CTRUNC: ::c_int = 8;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_TRUNC: ::c_int = 0x20;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_DONTWAIT: ::c_int = 0x40;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_EOR: ::c_int = 0x80;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_WAITALL: ::c_int = 0x100;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_FIN: ::c_int = 0x200;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_SYN: ::c_int = 0x400;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_CONFIRM: ::c_int = 0x800;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_RST: ::c_int = 0x1000;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_ERRQUEUE: ::c_int = 0x2000;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_NOSIGNAL: ::c_int = 0x4000;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_MORE: ::c_int = 0x8000;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_WAITFORONE: ::c_int = 0x10000;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_FASTOPEN: ::c_int = 0x20000000;
-#[deprecated(
- since = "0.2.136",
- note = "recvmmsg call expects an unsigned type on musl/emscripten"
-)]
pub const MSG_CMSG_CLOEXEC: ::c_int = 0x40000000;
pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;