diff options
author | bde <bde@FreeBSD.org> | 1996-10-17 17:31:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-17 17:31:25 +0000 |
commit | 3632b36dfaf61718502b410208cc689c9be5fa7d (patch) | |
tree | 347b65b24204809a848a29b67d7c59d3ed44e73d | |
parent | c2e5a39e1124e866cecdd191851e6ee683207c6a (diff) | |
download | FreeBSD-src-3632b36dfaf61718502b410208cc689c9be5fa7d.zip FreeBSD-src-3632b36dfaf61718502b410208cc689c9be5fa7d.tar.gz |
Added missing extern declaration of timer_freq.
Sorted declarations of scalars.
-rw-r--r-- | sys/amd64/include/clock.h | 15 | ||||
-rw-r--r-- | sys/i386/include/clock.h | 15 |
2 files changed, 14 insertions, 16 deletions
diff --git a/sys/amd64/include/clock.h b/sys/amd64/include/clock.h index a923dda..9c6646e 100644 --- a/sys/amd64/include/clock.h +++ b/sys/amd64/include/clock.h @@ -3,7 +3,7 @@ * Garrett Wollman, September 1994. * This file is in the public domain. * - * $Id: clock.h,v 1.17 1996/10/09 19:47:26 bde Exp $ + * $Id: clock.h,v 1.18 1996/10/10 10:25:26 bde Exp $ */ #ifndef _MACHINE_CLOCK_H_ @@ -52,9 +52,6 @@ */ extern int adjkerntz; extern int disable_rtc_set; -extern int statclock_disable; -extern int wall_cmos_clock; - #if defined(I586_CPU) || defined(I686_CPU) extern u_int i586_ctr_bias; extern u_int i586_ctr_comultiplier; @@ -63,10 +60,12 @@ extern u_int i586_ctr_multiplier; extern long long i586_last_tick; extern unsigned long i586_avg_tick; #endif -extern int timer0_max_count; -extern u_int timer0_overflow_threshold; -extern u_int timer0_prescaler_count; - +extern int statclock_disable; +extern u_int timer_freq; +extern int timer0_max_count; +extern u_int timer0_overflow_threshold; +extern u_int timer0_prescaler_count; +extern int wall_cmos_clock; #if defined(I586_CPU) || defined(I686_CPU) static __inline u_long diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h index a923dda..9c6646e 100644 --- a/sys/i386/include/clock.h +++ b/sys/i386/include/clock.h @@ -3,7 +3,7 @@ * Garrett Wollman, September 1994. * This file is in the public domain. * - * $Id: clock.h,v 1.17 1996/10/09 19:47:26 bde Exp $ + * $Id: clock.h,v 1.18 1996/10/10 10:25:26 bde Exp $ */ #ifndef _MACHINE_CLOCK_H_ @@ -52,9 +52,6 @@ */ extern int adjkerntz; extern int disable_rtc_set; -extern int statclock_disable; -extern int wall_cmos_clock; - #if defined(I586_CPU) || defined(I686_CPU) extern u_int i586_ctr_bias; extern u_int i586_ctr_comultiplier; @@ -63,10 +60,12 @@ extern u_int i586_ctr_multiplier; extern long long i586_last_tick; extern unsigned long i586_avg_tick; #endif -extern int timer0_max_count; -extern u_int timer0_overflow_threshold; -extern u_int timer0_prescaler_count; - +extern int statclock_disable; +extern u_int timer_freq; +extern int timer0_max_count; +extern u_int timer0_overflow_threshold; +extern u_int timer0_prescaler_count; +extern int wall_cmos_clock; #if defined(I586_CPU) || defined(I686_CPU) static __inline u_long |