diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 17:49:54 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-04 17:01:04 +0000 |
commit | 9c058332f36bc84db57f3d54566228799c5e9605 (patch) | |
tree | d7365db1cb044d34ea54a015518affc3be74bca3 /backends | |
parent | 2231197c87337a9778e0b2000b1ecb7d33c774b3 (diff) |
backends: 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>
Message-id: 1454089805-5470-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'backends')
-rw-r--r-- | backends/baum.c | 1 | ||||
-rw-r--r-- | backends/hostmem-file.c | 1 | ||||
-rw-r--r-- | backends/hostmem-ram.c | 1 | ||||
-rw-r--r-- | backends/hostmem.c | 1 | ||||
-rw-r--r-- | backends/msmouse.c | 2 | ||||
-rw-r--r-- | backends/rng-egd.c | 1 | ||||
-rw-r--r-- | backends/rng-random.c | 1 | ||||
-rw-r--r-- | backends/rng.c | 1 | ||||
-rw-r--r-- | backends/testdev.c | 1 | ||||
-rw-r--r-- | backends/tpm.c | 1 |
10 files changed, 10 insertions, 1 deletions
diff --git a/backends/baum.c b/backends/baum.c index ba32b61002..374562a483 100644 --- a/backends/baum.c +++ b/backends/baum.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "sysemu/char.h" #include "qemu/timer.h" diff --git a/backends/hostmem-file.c b/backends/hostmem-file.c index e9b6d21dac..fd59482693 100644 --- a/backends/hostmem-file.c +++ b/backends/hostmem-file.c @@ -9,6 +9,7 @@ * 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 "qemu-common.h" #include "sysemu/hostmem.h" #include "sysemu/sysemu.h" diff --git a/backends/hostmem-ram.c b/backends/hostmem-ram.c index a67a134521..44fb3902b8 100644 --- a/backends/hostmem-ram.c +++ b/backends/hostmem-ram.c @@ -9,6 +9,7 @@ * 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 "sysemu/hostmem.h" #include "qom/object_interfaces.h" diff --git a/backends/hostmem.c b/backends/hostmem.c index 1b4eb45817..60e882c628 100644 --- a/backends/hostmem.c +++ b/backends/hostmem.c @@ -9,6 +9,7 @@ * 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 "sysemu/hostmem.h" #include "hw/boards.h" #include "qapi/visitor.h" diff --git a/backends/msmouse.c b/backends/msmouse.c index 476dab5634..9a82efda9e 100644 --- a/backends/msmouse.c +++ b/backends/msmouse.c @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include <stdlib.h> +#include "qemu/osdep.h" #include "qemu-common.h" #include "sysemu/char.h" #include "ui/console.h" diff --git a/backends/rng-egd.c b/backends/rng-egd.c index 6c13409632..2de5cd5fef 100644 --- a/backends/rng-egd.c +++ b/backends/rng-egd.c @@ -10,6 +10,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "sysemu/rng.h" #include "sysemu/char.h" #include "qapi/qmp/qerror.h" diff --git a/backends/rng-random.c b/backends/rng-random.c index 4e51f4609b..8cdad6af7b 100644 --- a/backends/rng-random.c +++ b/backends/rng-random.c @@ -10,6 +10,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "sysemu/rng-random.h" #include "sysemu/rng.h" #include "qapi/qmp/qerror.h" diff --git a/backends/rng.c b/backends/rng.c index 5065fdc155..b7820ef471 100644 --- a/backends/rng.c +++ b/backends/rng.c @@ -10,6 +10,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "sysemu/rng.h" #include "qapi/qmp/qerror.h" #include "qom/object_interfaces.h" diff --git a/backends/testdev.c b/backends/testdev.c index 26d5c7307a..3ab1c90c1c 100644 --- a/backends/testdev.c +++ b/backends/testdev.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 "qemu-common.h" #include "sysemu/char.h" diff --git a/backends/tpm.c b/backends/tpm.c index a512693b15..d53da18627 100644 --- a/backends/tpm.c +++ b/backends/tpm.c @@ -12,6 +12,7 @@ * Based on backends/rng.c by Anthony Liguori */ +#include "qemu/osdep.h" #include "sysemu/tpm_backend.h" #include "qapi/qmp/qerror.h" #include "sysemu/tpm.h" |