diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-09 23:20:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-09 23:20:06 -0400 |
commit | baf9ee660c9f1d44d64341e225f9e0d7b808424d (patch) | |
tree | dd77e67044ce5cca653306d48569bdfbbc81e91d /src/ctx.c | |
parent | 9c74802117d97bdb55be08a954319e1b8733cb9d (diff) | |
download | bfs-baf9ee660c9f1d44d64341e225f9e0d7b808424d.tar.xz |
xtime: Remove xgettime()
clock_gettime() is available everywhere by now.
Diffstat (limited to 'src/ctx.c')
-rw-r--r-- | src/ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ struct bfs_ctx *bfs_ctx_new(void) { goto fail; } - if (xgettime(&ctx->now) != 0) { + if (clock_gettime(CLOCK_REALTIME, &ctx->now) != 0) { goto fail; } |