From baf9ee660c9f1d44d64341e225f9e0d7b808424d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 9 Aug 2024 23:20:06 -0400 Subject: xtime: Remove xgettime() clock_gettime() is available everywhere by now. --- src/ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ctx.c') diff --git a/src/ctx.c b/src/ctx.c index 8fafb32..b33e0e3 100644 --- a/src/ctx.c +++ b/src/ctx.c @@ -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; } -- cgit v1.2.3