Remove some constant from headers, put in the implementation --- src/cd-scsi.c | 3 +++ src/cd-scsi.h | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cd-scsi.c b/src/cd-scsi.c index b35dad57..715fe1c6 100644 --- a/src/cd-scsi.c +++ b/src/cd-scsi.c @@ -32,6 +32,9 @@ #define SPICE_ERROR(fmt, ...) \ do { SPICE_DEBUG("dev-scsi error: " fmt , ## __VA_ARGS__); } while (0) +#define FIXED_SENSE_CURRENT 0x70 +#define FIXED_SENSE_LEN 18 + #define MAX_LUNS 32 typedef struct CdScsiTarget CdScsiTarget; diff --git a/src/cd-scsi.h b/src/cd-scsi.h index 93c975a2..0fd7b90b 100644 --- a/src/cd-scsi.h +++ b/src/cd-scsi.h @@ -28,9 +28,6 @@ #include "cd-usb-bulk-msd.h" #include "scsi-constants.h" -#define FIXED_SENSE_CURRENT 0x70 -#define FIXED_SENSE_LEN 18 - #if defined(G_OS_WIN32) #include <winsock2.h> #include <windows.h> @@ -47,7 +44,6 @@ typedef enum ScsiXferDir { } ScsiXferDir; #define SCSI_CDB_BUF_SIZE 16 -#define SCSI_SENSE_BUF_SIZE 64 typedef enum CdScsiReqState { SCSI_REQ_IDLE = 0, -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel