Skip to content

Commit

Permalink
clock_gettime returns CInt, not void
Browse files Browse the repository at this point in the history
  • Loading branch information
radekm authored and lerno committed Feb 2, 2025
1 parent 20d93ed commit 4a99ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/time/os/time_posix.c3
Original file line number Diff line number Diff line change
@@ -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()
{
Expand Down

0 comments on commit 4a99ebe

Please sign in to comment.