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->ansirev );
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
SCSI_GetProcinfo()
|
||||
|
@ -277,6 +278,7 @@ SCSI_GetProcinfo()
|
|||
* HKEY_DYN_DATA would be a lot less messy
|
||||
*/
|
||||
{
|
||||
#ifdef linux
|
||||
FILE * procfile = NULL;
|
||||
|
||||
int result = 0;
|
||||
|
@ -344,5 +346,5 @@ SCSI_GetProcinfo()
|
|||
}
|
||||
RegCloseKey(hkeyScsi);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue