aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2006-10-24 10:27:23 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2006-10-24 10:27:23 +0000
commit7ea93e912bf0ef51cec2ce4e86557eef4039ce57 (patch)
tree95b8f156c4468f8cf6c920da9fe26d0cbde4edd6 /sys/sys
parent2f764f809fabf65bf551a6ab8412f74c7bcb3f32 (diff)
downloadsrc-7ea93e912bf0ef51cec2ce4e86557eef4039ce57.tar.gz
src-7ea93e912bf0ef51cec2ce4e86557eef4039ce57.zip
Better naming of fattime conversion functions, they do convert to timespec
after all. Add 'utc' argument to control if fattimestamps are on UTC or local timezone calendar.
Notes
Notes: svn path=/head/; revision=163646
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/clock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/clock.h b/sys/sys/clock.h
index 5c0252dfcc43..00f682148238 100644
--- a/sys/sys/clock.h
+++ b/sys/sys/clock.h
@@ -93,8 +93,8 @@ void clock_register(device_t, long);
/* Traditional POSIX base year */
#define POSIX_BASE_YEAR 1970
-void timet2fattime(struct timespec *tsp, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
-void fattime2timet(unsigned dd, unsigned dt, unsigned dh, struct timespec *tsp);
+void timespec2fattime(struct timespec *tsp, int utc, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
+void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
#endif /* _KERNEL */