diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-05-28 18:12:02 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-05-29 12:24:47 +0200 |
commit | a74b588ad23cb81b3a7a1b26c269de999a2ec546 (patch) | |
tree | 71a2eb10e9f62d9c77bc67405d2200f0ad86b78b /src/unix/solarish | |
parent | 48193e89b6730395c69f94824a87f5427aa641b5 (diff) | |
download | rust-libc-a74b588ad23cb81b3a7a1b26c269de999a2ec546.tar.gz |
Deprecate AF_MAX and PF_MAX
Diffstat (limited to 'src/unix/solarish')
-rw-r--r-- | src/unix/solarish/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index de7c1cde8e..b50c6471a8 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -1175,6 +1175,13 @@ pub const AF_INET_OFFLOAD: ::c_int = 30; pub const AF_TRILL: ::c_int = 31; pub const AF_PACKET: ::c_int = 32; pub const AF_LX_NETLINK: ::c_int = 33; + +#[doc(hidden)] +#[deprecated( + since = "0.2.55", + note = "If you are using this report to: \ + https://github.com/rust-lang/libc/issues/665" +)] pub const AF_MAX: ::c_int = 33; pub const SOCK_DGRAM: ::c_int = 1; pub const SOCK_STREAM: ::c_int = 2; |