storage: scsi: Remove private constants from header

They are used only in the SCSI backend driver so there's no need to
pollute the headers.
This commit is contained in:
Peter Krempa 2017-01-13 17:52:41 +01:00
parent 0de123c84e
commit ebc8564c1a
2 changed files with 4 additions and 4 deletions

View File

@ -40,6 +40,10 @@
VIR_LOG_INIT("storage.storage_backend_scsi");
#define LINUX_SYSFS_SCSI_HOST_PREFIX "/sys/class/scsi_host"
#define LINUX_SYSFS_SCSI_HOST_POSTFIX "device"
#define LINUX_SYSFS_SCSI_HOST_SCAN_STRING "- - -"
typedef struct _virStoragePoolFCRefreshInfo virStoragePoolFCRefreshInfo;
typedef virStoragePoolFCRefreshInfo *virStoragePoolFCRefreshInfoPtr;
struct _virStoragePoolFCRefreshInfo {

View File

@ -26,10 +26,6 @@
# include "storage_backend.h"
# define LINUX_SYSFS_SCSI_HOST_PREFIX "/sys/class/scsi_host"
# define LINUX_SYSFS_SCSI_HOST_POSTFIX "device"
# define LINUX_SYSFS_SCSI_HOST_SCAN_STRING "- - -"
extern virStorageBackend virStorageBackendSCSI;
#endif /* __VIR_STORAGE_BACKEND_SCSI_H__ */