Fix a couple more, similar, bugs while I'm here to save David the
trouble of reporting them, too.
-/* $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 */
/*
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,
{
u_char output[MAX_ADB_MSG_LENGTH];
int result;
- int flag = 0;
+ volatile int flag = 0;
switch (adbHardware) {
case ADB_HW_II:
{
u_char output[MAX_ADB_MSG_LENGTH];
int result;
- int flag = 0;
+ volatile int flag = 0;
switch (adbHardware) {
case ADB_HW_IISI:
{
u_char output[MAX_ADB_MSG_LENGTH];
int result;
- int flag = 0;
+ volatile int flag = 0;
switch (adbHardware) {
case ADB_HW_IISI: