summaryrefslogtreecommitdiff
path: root/src/fuchsia
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuchsia')
-rw-r--r--src/fuchsia/aarch64.rs11
-rw-r--r--src/fuchsia/x86_64.rs11
2 files changed, 22 insertions, 0 deletions
diff --git a/src/fuchsia/aarch64.rs b/src/fuchsia/aarch64.rs
index 572f8c1ce3..654e8d1b25 100644
--- a/src/fuchsia/aarch64.rs
+++ b/src/fuchsia/aarch64.rs
@@ -66,8 +66,19 @@ pub const MINSIGSTKSZ: ::size_t = 6144;
pub const SIGSTKSZ: ::size_t = 12288;
#[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 PF_MAX: ::c_int = 43;
#[doc(hidden)]
+#[deprecated(
+ since = "0.2.55",
+ note = "If you are using this report to: \
+ https://github.com/rust-lang/libc/issues/665"
+)]
+#[allow(deprecated)]
pub const AF_MAX: ::c_int = PF_MAX;
pub const SYS_io_setup: ::c_long = 0;
diff --git a/src/fuchsia/x86_64.rs b/src/fuchsia/x86_64.rs
index eb220998e8..e01f16d425 100644
--- a/src/fuchsia/x86_64.rs
+++ b/src/fuchsia/x86_64.rs
@@ -486,6 +486,17 @@ pub const SIGSTKSZ: ::size_t = 8192;
pub const MINSIGSTKSZ: ::size_t = 2048;
#[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 = 42;
#[doc(hidden)]
+#[deprecated(
+ since = "0.2.55",
+ note = "If you are using this report to: \
+ https://github.com/rust-lang/libc/issues/665"
+)]
+#[allow(deprecated)]
pub const PF_MAX: ::c_int = AF_MAX;