diff options
author | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2021-11-07 11:46:18 -0600 |
---|---|---|
committer | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2021-11-07 11:46:18 -0600 |
commit | 45cd3dce3a18bd57709b3e90ccca68fccc95c3b7 (patch) | |
tree | b0f0cbcdcd8a3f31bda6f43d267b5ad37379647c /src/unix/mod.rs | |
parent | 25ea72c5cef2660e9f117bdce3d0a1372fd7d250 (diff) | |
download | rust-libc-45cd3dce3a18bd57709b3e90ccca68fccc95c3b7.tar.gz |
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.
Diffstat (limited to 'src/unix/mod.rs')
-rw-r--r-- | src/unix/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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( |