From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:09 +0000 (+0000) Subject: ide: Clean up includes X-Git-Tag: v2.6.0-rc0~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=532392622c1d493e3bec543b10f74f361ea40662;p=thirdparty%2Fqemu.git ide: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Message-id: 1453832250-766-17-git-send-email-peter.maydell@linaro.org --- diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 17f1cbd930a..7e87b1805ec 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -21,6 +21,7 @@ * */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index 272ab90c7aa..1fe58ab7fd3 100644 --- a/hw/ide/atapi.c +++ b/hw/ide/atapi.c @@ -23,6 +23,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/ide/internal.h" #include "hw/scsi/scsi.h" #include "sysemu/block-backend.h" diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 27f3da21a72..49294a5314d 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/core.c b/hw/ide/core.c index da3baab1eb5..4c46453e270 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/ich.c b/hw/ide/ich.c index 16925fa2588..0a13334baa0 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -60,6 +60,7 @@ * */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/isa.c b/hw/ide/isa.c index 9f80503faae..eba567c8772 100644 --- a/hw/ide/isa.c +++ b/hw/ide/isa.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/macio.c b/hw/ide/macio.c index d4031b65e48..336784b076d 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/mac.h" #include "hw/ppc/mac_dbdma.h" diff --git a/hw/ide/microdrive.c b/hw/ide/microdrive.c index 6639dd48869..5c9db8047de 100644 --- a/hw/ide/microdrive.c +++ b/hw/ide/microdrive.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/mmio.c b/hw/ide/mmio.c index b6ce62ac5aa..493f65a1d0e 100644 --- a/hw/ide/mmio.c +++ b/hw/ide/mmio.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "sysemu/block-backend.h" diff --git a/hw/ide/pci.c b/hw/ide/pci.c index 37dbc291dab..fa5b63bc3f9 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -22,6 +22,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 5a26c86a8a1..df46147c652 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -23,6 +23,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/hw/ide/qdev.c b/hw/ide/qdev.c index fea54256adc..21607d99b92 100644 --- a/hw/ide/qdev.c +++ b/hw/ide/qdev.c @@ -16,6 +16,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include #include "sysemu/dma.h" #include "qemu/error-report.h" diff --git a/hw/ide/via.c b/hw/ide/via.c index e2da9ef71ad..d3f72267a13 100644 --- a/hw/ide/via.c +++ b/hw/ide/via.c @@ -23,6 +23,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include #include diff --git a/tests/ahci-test.c b/tests/ahci-test.c index 31fb1f94761..6869f7f46d9 100644 --- a/tests/ahci-test.c +++ b/tests/ahci-test.c @@ -22,9 +22,7 @@ * THE SOFTWARE. */ -#include -#include -#include +#include "qemu/osdep.h" #include #include diff --git a/tests/ide-test.c b/tests/ide-test.c index b864701356a..0d9ab4df95a 100644 --- a/tests/ide-test.c +++ b/tests/ide-test.c @@ -22,9 +22,7 @@ * THE SOFTWARE. */ -#include -#include -#include +#include "qemu/osdep.h" #include diff --git a/tests/libqos/ahci.c b/tests/libqos/ahci.c index 6b8c5564465..ac6c155c839 100644 --- a/tests/libqos/ahci.c +++ b/tests/libqos/ahci.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include #include "libqtest.h"