diff options
author | briggs <briggs@cvs.openbsd.org> | 1996-06-09 03:47:30 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1996-06-09 03:47:30 +0000 |
commit | fcc364857fe064b2d724a8be6208e7a9e04fbd1d (patch) | |
tree | 34da343b96c244729715013477e17f8d0422d728 /sys/kern/kern_clock.c | |
parent | 1b703b781123ee23247753b9a8ace2a58e1339a4 (diff) |
Declare tickfixcnt only ifndef NTP.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index c80b8f8aad8..1af2428f6d3 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -1,5 +1,5 @@ -/* $OpenBSD: kern_clock.c,v 1.11 1996/05/03 07:42:39 niklas Exp $ */ -/* $NetBSD: kern_clock.c,v 1.33 1996/04/22 01:38:19 christos Exp $ */ +/* $OpenBSD: kern_clock.c,v 1.12 1996/06/09 03:47:29 briggs Exp $ */ +/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */ /*- * Copyright (c) 1982, 1986, 1991, 1993 @@ -283,8 +283,9 @@ int ticks; static int psdiv, pscnt; /* prof => stat divider */ int psratio; /* ratio: prof / stat */ int tickfix, tickfixinterval; /* used if tick not really integral */ +#ifndef NTP static int tickfixcnt; /* number of ticks since last fix */ -#ifdef NTP +#else int fixtick; /* used by NTP for same */ int shifthz; #endif |