diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-04-07 01:22:16 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-04-07 01:22:16 +0000 |
commit | b99e10e8d2d4c851e73ffd55f134028afdad8241 (patch) | |
tree | 4e35345a546fef7eb806dacefef7b80a2f9893f1 /sys/arch/mac68k | |
parent | e42f464a95c5c59de9bdd2c938856ba5d90c7f51 (diff) |
Fix m68k/153 as suggested by David Leonard <d@occult.fnarg.net.au>.
Fix a couple more, similar, bugs while I'm here to save David the
trouble of reporting them, too.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r-- | sys/arch/mac68k/dev/adb_direct.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/mac68k/dev/adb_direct.c b/sys/arch/mac68k/dev/adb_direct.c index c2f083cf0ad..885047457a6 100644 --- a/sys/arch/mac68k/dev/adb_direct.c +++ b/sys/arch/mac68k/dev/adb_direct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adb_direct.c,v 1.3 1997/03/31 12:59:11 briggs Exp $ */ +/* $OpenBSD: adb_direct.c,v 1.4 1997/04/07 01:22:15 briggs Exp $ */ /* adb_direct.c 1.91 1/20/97 jpw */ /* @@ -1754,7 +1754,7 @@ int adb_op_sync(Ptr buffer, Ptr compRout, Ptr data, short command) { int result; - int flag; + volatile int flag; flag = 0; result = adb_op(buffer, (void *) adb_op_comprout, @@ -2011,7 +2011,7 @@ adb_set_date_time(unsigned long time) { u_char output[MAX_ADB_MSG_LENGTH]; int result; - int flag = 0; + volatile int flag = 0; switch (adbHardware) { case ADB_HW_II: @@ -2100,7 +2100,7 @@ adb_prog_switch_enable(void) { u_char output[MAX_ADB_MSG_LENGTH]; int result; - int flag = 0; + volatile int flag = 0; switch (adbHardware) { case ADB_HW_IISI: @@ -2134,7 +2134,7 @@ adb_prog_switch_disable(void) { u_char output[MAX_ADB_MSG_LENGTH]; int result; - int flag = 0; + volatile int flag = 0; switch (adbHardware) { case ADB_HW_IISI: |