Fixed FreeBSD compilation.
This commit is contained in:
parent
e4e61708d4
commit
c302f3bd4a
|
@ -144,6 +144,7 @@ SCSI_OpenDevice( int h, int c, int t, int d )
|
|||
return fd;
|
||||
}
|
||||
|
||||
#ifdef linux
|
||||
int
|
||||
SCSI_LinuxSetTimeout( int fd, int timeout )
|
||||
{
|
||||
|
@ -344,4 +345,4 @@ SCSI_GetProcinfo()
|
|||
RegCloseKey(hkeyScsi);
|
||||
return;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -47,11 +47,13 @@ SCSI_OpenDevice( int h, int c, int t, int d );
|
|||
int
|
||||
SCSI_LinuxSetTimeout( int fd, int timeout );
|
||||
|
||||
#ifdef linux
|
||||
BOOL
|
||||
SCSI_LinuxDeviceIo( int fd,
|
||||
struct sg_header * lpvInBuffer, DWORD cbInBuffer,
|
||||
struct sg_header * lpvOutBuffer, DWORD cbOutBuffer,
|
||||
LPDWORD lpcbBytesReturned );
|
||||
#endif
|
||||
|
||||
BOOL
|
||||
SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData);
|
||||
|
|
Loading…
Reference in New Issue