Skip to content

Commit d2da7f7

Browse files
committed
Android: remove readahead
While this appears to be in bionic libc, it's not in any header, so CI fails to validate it. Let's just skip that one.
1 parent ff45035 commit d2da7f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,6 @@ extern {
646646
result: *mut *mut ::dirent64) -> ::c_int;
647647
pub fn getrlimit64(resource: ::c_int, rlim: *mut rlimit64) -> ::c_int;
648648
pub fn setrlimit64(resource: ::c_int, rlim: *const rlimit64) -> ::c_int;
649-
pub fn readahead(fd: ::c_int, offset: ::off64_t,
650-
count: ::size_t) -> ::ssize_t;
651649
}
652650

653651
cfg_if! {

0 commit comments

Comments
 (0)