Skip to content

Commit

Permalink
Auto merge of #2843 - joshtriplett:android-futimes, r=Amanieu
Browse files Browse the repository at this point in the history
Add futimes on Android
  • Loading branch information
bors committed Jul 12, 2022
2 parents fb8d512 + 72f5b39 commit a2400f0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Expand Up @@ -2962,6 +2962,7 @@ ftello
ftruncate
ftruncate64
futimens
futimes
fwrite
gai_strerror
genlmsghdr
Expand Down
1 change: 0 additions & 1 deletion libc-test/semver/linux-gnu.txt
Expand Up @@ -584,7 +584,6 @@ dlmopen
endutxent
explicit_bzero
fgetspent_r
futimes
getauxval
getentropy
getgrent_r
Expand Down
1 change: 0 additions & 1 deletion libc-test/semver/linux-musl.txt
Expand Up @@ -34,7 +34,6 @@ aiocb
clock_adjtime
ctermid
explicit_bzero
futimes
getauxval
getloadavg
lio_listio
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/linux.txt
Expand Up @@ -2776,6 +2776,7 @@ fstatvfs64
ftello64
ftok
ftruncate64
futimes
genlmsghdr
getdomainname
getdtablesize
Expand Down
4 changes: 0 additions & 4 deletions src/unix/linux_like/linux/mod.rs
Expand Up @@ -3442,10 +3442,6 @@ cfg_if! {
riovcnt: ::c_ulong,
flags: ::c_ulong,
) -> isize;
pub fn futimes(
fd: ::c_int,
times: *const ::timeval
) -> ::c_int;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/unix/linux_like/mod.rs
Expand Up @@ -1795,6 +1795,10 @@ cfg_if! {
termp: *const termios,
winp: *const ::winsize,
) -> ::c_int;
pub fn futimes(
fd: ::c_int,
times: *const ::timeval
) -> ::c_int;
}
}
}
Expand Down

0 comments on commit a2400f0

Please sign in to comment.