diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-10-02 18:23:37 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-10-02 18:23:37 +0000 |
commit | e5037a18a99371cfd20bfa65556fe0f816781695 (patch) | |
tree | 3489b6aebb6a369a6ddad98553ec18fdc627975e /sys/kern/subr_clock.c | |
parent | 948170b7d48d7d7d119baa36d9f50bd568269fd9 (diff) | |
download | src-e5037a18a99371cfd20bfa65556fe0f816781695.tar.gz src-e5037a18a99371cfd20bfa65556fe0f816781695.zip |
Use utc_offset() where applicable, and hide the internals of it
as static variables.
Notes
Notes:
svn path=/head/; revision=162970
Diffstat (limited to 'sys/kern/subr_clock.c')
-rw-r--r-- | sys/kern/subr_clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_clock.c b/sys/kern/subr_clock.c index 7586402124ec..fe6adf9d79ba 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; |