Avoid a link error from another DLL on FreeBSD.
This commit is contained in:
parent
9aa678ca8a
commit
db5da8bdd5
|
@ -269,6 +269,7 @@ SCSI_printprocentry( const struct LinuxProcScsiDevice * dev )
|
||||||
dev->type,
|
dev->type,
|
||||||
dev->ansirev );
|
dev->ansirev );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
SCSI_GetProcinfo()
|
SCSI_GetProcinfo()
|
||||||
|
@ -277,6 +278,7 @@ SCSI_GetProcinfo()
|
||||||
* HKEY_DYN_DATA would be a lot less messy
|
* HKEY_DYN_DATA would be a lot less messy
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
#ifdef linux
|
||||||
FILE * procfile = NULL;
|
FILE * procfile = NULL;
|
||||||
|
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
@ -344,5 +346,5 @@ SCSI_GetProcinfo()
|
||||||
}
|
}
|
||||||
RegCloseKey(hkeyScsi);
|
RegCloseKey(hkeyScsi);
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue