mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 20:51:26 +00:00
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:
parent
0de123c84e
commit
ebc8564c1a
@ -40,6 +40,10 @@
|
|||||||
|
|
||||||
VIR_LOG_INIT("storage.storage_backend_scsi");
|
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 struct _virStoragePoolFCRefreshInfo virStoragePoolFCRefreshInfo;
|
||||||
typedef virStoragePoolFCRefreshInfo *virStoragePoolFCRefreshInfoPtr;
|
typedef virStoragePoolFCRefreshInfo *virStoragePoolFCRefreshInfoPtr;
|
||||||
struct _virStoragePoolFCRefreshInfo {
|
struct _virStoragePoolFCRefreshInfo {
|
||||||
|
@ -26,10 +26,6 @@
|
|||||||
|
|
||||||
# include "storage_backend.h"
|
# 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;
|
extern virStorageBackend virStorageBackendSCSI;
|
||||||
|
|
||||||
#endif /* __VIR_STORAGE_BACKEND_SCSI_H__ */
|
#endif /* __VIR_STORAGE_BACKEND_SCSI_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user