summaryrefslogtreecommitdiffstats
path: root/src/xtime.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-09 23:20:06 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-09 23:20:06 -0400
commitbaf9ee660c9f1d44d64341e225f9e0d7b808424d (patch)
treedd77e67044ce5cca653306d48569bdfbbc81e91d /src/xtime.h
parent9c74802117d97bdb55be08a954319e1b8733cb9d (diff)
downloadbfs-baf9ee660c9f1d44d64341e225f9e0d7b808424d.tar.xz
xtime: Remove xgettime()
clock_gettime() is available everywhere by now.
Diffstat (limited to 'src/xtime.h')
-rw-r--r--src/xtime.h10
1 files changed, 0 insertions, 10 deletions
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