]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ide/atapi: Restrict 'scsi/constants.h' inclusion
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Feb 2023 22:35:21 +0000 (23:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commitcc135b10f4385d374fdbb4032618da8f5fd965a2
tree12b6e982e71e3cade9d0e072563a1b59d9d6c03b
parent3b759fbf390dbfd86fe397a4f7dc5d4920d37091
hw/ide/atapi: Restrict 'scsi/constants.h' inclusion

Only atapi.c requires the SCSI constants. No need to include
it in all files including "hw/ide/internal.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-7-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
hw/ide/atapi.c
include/hw/ide/internal.h