22 |
|
#include <exec/memory.h> |
23 |
|
#include <devices/trackdisk.h> |
24 |
|
#include <devices/scsidisk.h> |
25 |
+ |
#define __USE_SYSBASE |
26 |
|
#include <proto/exec.h> |
27 |
+ |
#include <inline/exec.h> |
28 |
|
|
29 |
|
#include "sysdeps.h" |
30 |
|
#include "main.h" |
99 |
|
struct IOStdReq *io = (struct IOStdReq *)CreateIORequest(the_port, sizeof(struct IOStdReq)); |
100 |
|
if (io == NULL) |
101 |
|
continue; |
102 |
< |
if (OpenDevice((UBYTE *)dev_name, dev_unit + lun * 10, (struct IORequest *)io, 0)) { |
102 |
> |
if (OpenDevice((UBYTE *) dev_name, dev_unit + lun * 10, (struct IORequest *)io, 0)) { |
103 |
|
DeleteIORequest(io); |
104 |
|
continue; |
105 |
|
} |