Fixed FreeBSD compilation.

This commit is contained in:
Gerald Pfeifer 2000-03-12 20:19:23 +00:00 committed by Alexandre Julliard
parent e4e61708d4
commit c302f3bd4a
2 changed files with 4 additions and 1 deletions

View File

@ -144,6 +144,7 @@ SCSI_OpenDevice( int h, int c, int t, int d )
return fd; return fd;
} }
#ifdef linux
int int
SCSI_LinuxSetTimeout( int fd, int timeout ) SCSI_LinuxSetTimeout( int fd, int timeout )
{ {
@ -344,4 +345,4 @@ SCSI_GetProcinfo()
RegCloseKey(hkeyScsi); RegCloseKey(hkeyScsi);
return; return;
} }
#endif

View File

@ -47,11 +47,13 @@ SCSI_OpenDevice( int h, int c, int t, int d );
int int
SCSI_LinuxSetTimeout( int fd, int timeout ); SCSI_LinuxSetTimeout( int fd, int timeout );
#ifdef linux
BOOL BOOL
SCSI_LinuxDeviceIo( int fd, SCSI_LinuxDeviceIo( int fd,
struct sg_header * lpvInBuffer, DWORD cbInBuffer, struct sg_header * lpvInBuffer, DWORD cbInBuffer,
struct sg_header * lpvOutBuffer, DWORD cbOutBuffer, struct sg_header * lpvOutBuffer, DWORD cbOutBuffer,
LPDWORD lpcbBytesReturned ); LPDWORD lpcbBytesReturned );
#endif
BOOL BOOL
SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData); SCSI_GetDeviceName(int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbData);