Skip to content

Commit a42eea3

Browse files
committed
android: Add getauxval for 32-bit targets
1 parent 9d20e56 commit a42eea3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3329,6 +3329,7 @@ fwrite_unlocked
33293329
gai_strerror
33303330
genlmsghdr
33313331
getaddrinfo
3332+
getauxval
33323333
getchar
33333334
getchar_unlocked
33343335
getcwd

src/unix/linux_like/android/b64/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ f! {
305305
}
306306

307307
extern "C" {
308-
pub fn getauxval(type_: c_ulong) -> c_ulong;
309308
pub fn __system_property_wait(
310309
pi: *const crate::prop_info,
311310
__old_serial: u32,

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4030,6 +4030,8 @@ extern "C" {
40304030

40314031
pub fn gettid() -> crate::pid_t;
40324032

4033+
pub fn getauxval(type_: c_ulong) -> c_ulong;
4034+
40334035
/// Only available in API Version 28+
40344036
pub fn getrandom(buf: *mut c_void, buflen: size_t, flags: c_uint) -> ssize_t;
40354037
pub fn getentropy(buf: *mut c_void, buflen: size_t) -> c_int;

0 commit comments

Comments
 (0)