summaryrefslogtreecommitdiffstats
path: root/src/xtime.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-07 13:01:13 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-07 13:03:38 -0500
commitddfe02342f89703e723699238a424396204aa1cf (patch)
treeb8ac65213805c99e09d72a73008ad39041322497 /src/xtime.h
parent9c96ae64fafb6885fcac42122181d175c34738a2 (diff)
downloadbfs-ddfe02342f89703e723699238a424396204aa1cf.tar.xz
xtime: s/parse_timestamp/xgetdate/
Diffstat (limited to 'src/xtime.h')
-rw-r--r--src/xtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xtime.h b/src/xtime.h
index ceff48f..cca1428 100644
--- a/src/xtime.h
+++ b/src/xtime.h
@@ -81,6 +81,6 @@ int xtimegm(struct tm *tm, time_t *timep);
* @return
* 0 on success, -1 on failure.
*/
-int parse_timestamp(const char *str, struct timespec *result);
+int xgetdate(const char *str, struct timespec *result);
#endif // BFS_XTIME_H