Skip to content

Commit d2cfb7f

Browse files
committed
chore: wip
1 parent b8d548c commit d2cfb7f

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

src/fuchsia/mod.rs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,6 @@ s! {
510510
pub f_files: crate::fsfilcnt_t,
511511
pub f_ffree: crate::fsfilcnt_t,
512512
pub f_favail: crate::fsfilcnt_t,
513-
#[cfg(target_endian = "little")]
514-
pub f_fsid: c_ulong,
515-
#[cfg(all(target_pointer_width = "32", not(target_arch = "x86_64")))]
516-
__f_unused: Padding<c_int>,
517-
#[cfg(target_endian = "big")]
518513
pub f_fsid: c_ulong,
519514
pub f_flag: c_ulong,
520515
pub f_namemax: c_ulong,
@@ -3824,12 +3819,7 @@ extern "C" {
38243819

38253820
pub fn fallocate(fd: c_int, mode: c_int, offset: off_t, len: off_t) -> c_int;
38263821
pub fn posix_fallocate(fd: c_int, offset: off_t, len: off_t) -> c_int;
3827-
// FIXME(msrv): once we bump MSRV past stabilization of `expect` and the
3828-
// `reason` attribute parameter, mention that this symbol is not meant for
3829-
// deprecation, but one of its parameters just may be (pending further
3830-
// discussion.)
3831-
#[allow(deprecated)]
3832-
pub fn readahead(fd: c_int, offset: off64_t, count: size_t) -> ssize_t;
3822+
pub fn readahead(fd: c_int, offset: off_t, count: size_t) -> ssize_t;
38333823
pub fn signalfd(fd: c_int, mask: *const crate::sigset_t, flags: c_int) -> c_int;
38343824
pub fn timerfd_create(clockid: c_int, flags: c_int) -> c_int;
38353825
pub fn timerfd_gettime(fd: c_int, curr_value: *mut itimerspec) -> c_int;
@@ -3869,12 +3859,7 @@ extern "C" {
38693859
pub fn mkfifoat(dirfd: c_int, pathname: *const c_char, mode: mode_t) -> c_int;
38703860
pub fn if_nameindex() -> *mut if_nameindex;
38713861
pub fn if_freenameindex(ptr: *mut if_nameindex);
3872-
// FIXME(msrv): once we bump MSRV past stabilization of `expect` and the
3873-
// `reason` attribute parameter, mention that this symbol is not meant for
3874-
// deprecation, but one of its parameters just may be (pending further
3875-
// discussion.)
3876-
#[allow(deprecated)]
3877-
pub fn sync_file_range(fd: c_int, offset: off64_t, nbytes: off64_t, flags: c_uint) -> c_int;
3862+
pub fn sync_file_range(fd: c_int, offset: off_t, nbytes: off_t, flags: c_uint) -> c_int;
38783863
pub fn getifaddrs(ifap: *mut *mut crate::ifaddrs) -> c_int;
38793864
pub fn freeifaddrs(ifa: *mut crate::ifaddrs);
38803865

0 commit comments

Comments
 (0)