mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
clock_gettime returns CInt, not void
This commit is contained in:
committed by
Christoffer Lerno
parent
20d93ede0c
commit
4a99ebef51
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user