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/xtime.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/xtime.h') diff --git a/src/xtime.h b/src/xtime.h index fb60ae4..a3547a7 100644 --- a/src/xtime.h +++ b/src/xtime.h @@ -46,14 +46,4 @@ int xtimegm(struct tm *tm, time_t *timep); */ int xgetdate(const char *str, struct timespec *result); -/** - * Get the current time. - * - * @param[out] result - * A pointer to the result. - * @return - * 0 on success, -1 on failure. - */ -int xgettime(struct timespec *result); - #endif // BFS_XTIME_H -- cgit v1.2.3