aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/clock.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2006-10-02 16:17:23 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2006-10-02 16:17:23 +0000
commitf97c1c4bf7725ea1b62d50814dc77ff3b8373bfd (patch)
tree1f270ceb14a94fa2da300bfc3673fdecb9777f38 /sys/sys/clock.h
parent8e52f5465dd74d5f580ef4e41ca92029be384662 (diff)
downloadsrc-f97c1c4bf7725ea1b62d50814dc77ff3b8373bfd.tar.gz
src-f97c1c4bf7725ea1b62d50814dc77ff3b8373bfd.zip
Introduce utc_offset() to capture a calculation currently done all over the
place.
Notes
Notes: svn path=/head/; revision=162962
Diffstat (limited to 'sys/sys/clock.h')
-rw-r--r--sys/sys/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/clock.h b/sys/sys/clock.h
index be0de57ba628..50c19a8a0416 100644
--- a/sys/sys/clock.h
+++ b/sys/sys/clock.h
@@ -59,6 +59,8 @@ extern int disable_rtc_set;
extern int tz_minuteswest;
extern int tz_dsttime;
+int utc_offset(void);
+
/*
* Structure to hold the values typically reported by time-of-day clocks.
* This can be passed to the generic conversion functions to be converted