summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_clock.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-10-02 18:23:37 +0000
committerphk <phk@FreeBSD.org>2006-10-02 18:23:37 +0000
commit638e020bc6857faa5fda80000dcd6c68e81077b3 (patch)
tree3489b6aebb6a369a6ddad98553ec18fdc627975e /sys/kern/subr_clock.c
parent5d888a06551915d7b826dd6177fc33ea8deb877d (diff)
downloadFreeBSD-src-638e020bc6857faa5fda80000dcd6c68e81077b3.zip
FreeBSD-src-638e020bc6857faa5fda80000dcd6c68e81077b3.tar.gz
Use utc_offset() where applicable, and hide the internals of it
as static variables.
Diffstat (limited to 'sys/kern/subr_clock.c')
-rw-r--r--sys/kern/subr_clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_clock.c b/sys/kern/subr_clock.c
index 7586402..fe6adf9 100644
--- a/sys/kern/subr_clock.c
+++ b/sys/kern/subr_clock.c
@@ -49,9 +49,9 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <sys/timetc.h>
-int adjkerntz; /* local offset from GMT in seconds */
-int disable_rtc_set; /* disable resettodr() if != 0 */
-int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */
+static int adjkerntz; /* local offset from GMT in seconds */
+static int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */
+int disable_rtc_set; /* disable resettodr() if != 0 */
int tz_minuteswest;
int tz_dsttime;
OpenPOWER on IntegriCloud