summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-11-27 00:31:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-11-27 00:31:56 +0000
commit8273ace6870efdfb9913c01f8bd8149caa28d5f4 (patch)
treee92c9be1f92e7bf08530224d18fb3e6639b789b6 /sys/arch
parentc5be2bac707ae766de41c092bf0b093a2746fe9a (diff)
This var is volatile. gcc3 complains if the CV qualifiers don't match.
ok toby, mickey
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/biosvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index 08cfed3dad7..4fc00866e87 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.41 2003/06/03 20:10:32 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.42 2003/11/27 00:31:55 espie Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -199,7 +199,7 @@ typedef struct _bios_consdev {
#else
#define DOINT(n) "int $0x20+(" #n ")"
-extern struct BIOS_regs {
+extern volatile struct BIOS_regs {
u_int32_t biosr_ax;
u_int32_t biosr_cx;
u_int32_t biosr_dx;