From 45cd3dce3a18bd57709b3e90ccca68fccc95c3b7 Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Sun, 7 Nov 2021 11:46:18 -0600 Subject: Fix/remove deprecated DragonFly items These items were recently deprecated on DragonFly, either because the platform does not define them or because they were out of date. --- src/unix/mod.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/unix/mod.rs') diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 52f8752182..5ff2294e79 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -699,7 +699,6 @@ extern "C" { all(target_os = "freebsd", any(freebsd11, freebsd10)), link_name = "fstat@FBSD_1.0" )] - #[cfg_attr(target_os = "dragonfly", allow(deprecated))] pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; @@ -713,7 +712,6 @@ extern "C" { all(target_os = "freebsd", any(freebsd11, freebsd10)), link_name = "stat@FBSD_1.0" )] - #[cfg_attr(target_os = "dragonfly", allow(deprecated))] pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; pub fn pclose(stream: *mut ::FILE) -> ::c_int; @@ -798,7 +796,6 @@ extern "C" { all(target_os = "freebsd", any(freebsd11, freebsd10)), link_name = "fstatat@FBSD_1.1" )] - #[cfg_attr(target_os = "dragonfly", allow(deprecated))] pub fn fstatat( dirfd: ::c_int, pathname: *const ::c_char, @@ -990,7 +987,6 @@ extern "C" { all(target_os = "freebsd", any(freebsd11, freebsd10)), link_name = "lstat@FBSD_1.0" )] - #[cfg_attr(target_os = "dragonfly", allow(deprecated))] pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; #[cfg_attr( -- cgit v1.2.1