From 8273ace6870efdfb9913c01f8bd8149caa28d5f4 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 27 Nov 2003 00:31:56 +0000 Subject: This var is volatile. gcc3 complains if the CV qualifiers don't match. ok toby, mickey --- sys/arch/i386/include/biosvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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; -- cgit v1.2.3