clock_gettime returns CInt, not void

This commit is contained in:
Radek Micek
2025-02-02 13:23:42 +01:00
committed by Christoffer Lerno
parent 20d93ede0c
commit 4a99ebef51

View File

@@ -1,7 +1,7 @@
module std::time::os @if(env::POSIX);
import libc;
extern fn void clock_gettime(int type, TimeSpec *time);
extern fn CInt clock_gettime(int type, TimeSpec *time);
fn Time native_timestamp()
{