Skip to content

Commit 33dd3b9

Browse files
committed
Move getauxval() to libc, not to libutil.
1 parent 89a8e04 commit 33dd3b9

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/gnu/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ extern "C" {
978978
needle: *const ::c_void,
979979
needlelen: ::size_t,
980980
) -> *mut ::c_void;
981+
pub fn getauxval(type_: ::c_ulong) -> ::c_ulong;
981982
}
982983

983984
#[link(name = "util")]
@@ -1031,7 +1032,6 @@ extern "C" {
10311032
pub fn sched_getcpu() -> ::c_int;
10321033
pub fn mallinfo() -> ::mallinfo;
10331034
pub fn malloc_usable_size(ptr: *mut ::c_void) -> ::size_t;
1034-
pub fn getauxval(type_: ::c_ulong) -> ::c_ulong;
10351035
#[cfg_attr(target_os = "netbsd", link_name = "__getpwent_r50")]
10361036
#[cfg_attr(target_os = "solaris", link_name = "__posix_getpwent_r")]
10371037
pub fn getpwent_r(

0 commit comments

Comments
 (0)