Browse Source

all: 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 <peter.maydell@linaro.org>
---
This just catches a couple of stragglers since I posted
the last clean-includes patchset last week.
pull/7/merge
Peter Maydell 10 years ago
parent
commit
974dc73d77
  1. 1
      hw/vfio/amd-xgbe.c
  2. 3
      tests/boot-sector.c
  3. 3
      tests/pxe-test.c

1
hw/vfio/amd-xgbe.c

@ -11,6 +11,7 @@
*
*/
#include "qemu/osdep.h"
#include "hw/vfio/vfio-amd-xgbe.h"
static void amd_xgbe_realize(DeviceState *dev, Error **errp)

3
tests/boot-sector.c

@ -10,9 +10,8 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "boot-sector.h"
#include <string.h>
#include <stdio.h>
#include "qemu-common.h"
#include "libqtest.h"

3
tests/pxe-test.c

@ -11,8 +11,7 @@
* See the COPYING file in the top-level directory.
*/
#include <string.h>
#include <stdio.h>
#include "qemu/osdep.h"
#include <glib.h>
#include <glib/gstdio.h>
#include "qemu-common.h"

Loading…
Cancel
Save