Don't include _Linux files in MacOS build, add support for _MacOS files
This commit is contained in:
parent
698ae9debc
commit
d834b18a16
7 changed files with 295 additions and 20 deletions
|
|
@ -27,12 +27,12 @@ extern "C" {
|
|||
| Functions |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
void scsi_close(struct scsi_device * dev)
|
||||
void scsi_close(struct scsi_device * /*dev*/)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
struct scsi_device_info * scsi_enumerate(const char * vendor, const char * product)
|
||||
struct scsi_device_info * scsi_enumerate(const char * /*vendor*/, const char * /*product*/)
|
||||
{
|
||||
return(NULL);
|
||||
}
|
||||
|
|
@ -54,12 +54,12 @@ void scsi_free_enumeration(struct scsi_device_info * devs)
|
|||
}
|
||||
}
|
||||
|
||||
struct scsi_device * scsi_open_path(const char *path)
|
||||
struct scsi_device * scsi_open_path(const char * /*path*/)
|
||||
{
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
int scsi_write(struct scsi_device * dev, const unsigned char * data, size_t data_length, const unsigned char * cdb, size_t cdb_length, unsigned char * sense, size_t sense_length)
|
||||
int scsi_write(struct scsi_device * /*dev*/, const unsigned char * /*data*/, size_t /*data_length*/, const unsigned char * /*cdb*/, size_t /*cdb_length*/, unsigned char * /*sense*/, size_t /*sense_length*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue