Fix clock_getcpuclockid() parameter type

This commit is contained in:
Peter Limkilde Svendsen
2025-02-03 21:50:51 +01:00
parent f4e456e5b5
commit a98fe90498
+1 -1
View File
@@ -246,7 +246,7 @@ pub extern "C" fn clock() -> clock_t {
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/clock_getcpuclockid.html>.
// #[no_mangle]
pub extern "C" fn clock_getcpuclockid(pid: pid_t, clock_id: clockid_t) -> c_int {
pub extern "C" fn clock_getcpuclockid(pid: pid_t, clock_id: *mut clockid_t) -> c_int {
unimplemented!();
}