]> git.proxmox.com Git - mirror_qemu.git/commitdiff
backends: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 17:49:54 +0000 (17:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 4 Feb 2016 17:01:04 +0000 (17:01 +0000)
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

backends/baum.c
backends/hostmem-file.c
backends/hostmem-ram.c
backends/hostmem.c
backends/msmouse.c
backends/rng-egd.c
backends/rng-random.c
backends/rng.c
backends/testdev.c
backends/tpm.c

index ba32b610028b88d98194d7f253d41a2344e30207..374562a4830d621303046f5d7563ec54e3ea2748 100644 (file)
@@ -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"
index e9b6d21dac8837dff2c4c5abdcfbfb11a76950bc..fd594826938132ae410c29e516fc89db6516b4d0 100644 (file)
@@ -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"
index a67a134521a3d921b316cdcd5598b7f8ac7e1549..44fb3902b8cbbd00467d872a794c158bd2a099cb 100644 (file)
@@ -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"
 
index 1b4eb45817a7a49ae94d1d0b9c5a1f87fe270779..60e882c6287c79d739db907d1e2bd0336752ab66 100644 (file)
@@ -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"
index 476dab5634574788d17eb135dab3da4bdf42b94a..9a82efda9e784542718bb8be88851277092c1076 100644 (file)
@@ -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"
index 6c13409632b14c5421a859e5719ba67a9eb2e03d..2de5cd5fef99ea63533cb5747df15925dd219fd1 100644 (file)
@@ -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"
index 4e51f4609b41d081f9104cd12d5e3e3ab0142309..8cdad6af7bc36520776091e85be5cca7450524cf 100644 (file)
@@ -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"
index 5065fdc1550b52ae432ab1bfa154536feaecedce..b7820ef4717defabda59dadb04b5c3159227c57d 100644 (file)
@@ -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"
index 26d5c7307a76ae13f52b4c79b9c714e3886bf5fc..3ab1c90c1cd7250b5c77e9f6a9839a0dd4a23ef7 100644 (file)
@@ -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"
 
index a512693b15f995103a1f94dad526c94346bbefb0..d53da18627f2e161c747cbabf14456c5bfb43955 100644 (file)
@@ -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"