aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-05-15 05:18:56 +0000
committerBruce Evans <bde@FreeBSD.org>2002-05-15 05:18:56 +0000
commit7080af00c2ef164b70580b26e421c277e41d23a6 (patch)
tree2fb4366639ebcb4c54c681c97b6cc2c46df5324b
parentb6d5c5e83a9c382a996c25d37dee53d3aa74eabe (diff)
downloadsrc-7080af00c2ef164b70580b26e421c277e41d23a6.tar.gz
src-7080af00c2ef164b70580b26e421c277e41d23a6.zip
MFC (1.133: "For what it's worth, idelayed is declared as a volatile in
the headers, and even though it's not used in this file make it a volatile here too"). The worth of this is that it makes this file actually compilable by C compilers like gcc-3.
Notes
Notes: svn path=/stable/3/; revision=96635
-rw-r--r--sys/i386/isa/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 86bf459c6d3a..d98ecec0d7de 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -128,7 +128,7 @@ static void setup_8254_mixed_mode __P((void));
int adjkerntz; /* local offset from GMT in seconds */
int disable_rtc_set; /* disable resettodr() if != 0 */
-u_int idelayed;
+volatile u_int idelayed;
int statclock_disable;
u_int stat_imask = SWI_CLOCK_MASK;
#ifndef TIMER_FREQ