]> git.proxmox.com Git - mirror_qemu.git/commitdiff
m68k: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:17:23 +0000 (18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:24 +0000 (15:07 +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: 1453832250-766-31-git-send-email-peter.maydell@linaro.org

hw/m68k/an5206.c
hw/m68k/dummy_m68k.c
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/m68k/mcf_intc.c
target-m68k/cpu.c
target-m68k/gdbstub.c
target-m68k/helper.c
target-m68k/m68k-semi.c
target-m68k/op_helper.c
target-m68k/translate.c

index 8d9ccaa88ef3df619d9dca46ab712ecc0fbb6273..d87b945f05544615e3dc22c3e72d8843151dd0b2 100644 (file)
@@ -6,6 +6,7 @@
  * This code is licensed under the GPL
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/m68k/mcf.h"
 #include "hw/boards.h"
index 8b3b77597d75d78b289ae4302ec0959d380f8a4c..a213bcf307d9df864fb518ade9b47f3a21eca4c1 100644 (file)
@@ -6,6 +6,7 @@
  * This code is licensed under the GPL
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
index 1727a4685c83c6aa50e1dd07f9a1c5c05d43082e..7fd3275b056999d6272d6b6f3b90ee8a95b11092 100644 (file)
@@ -5,6 +5,7 @@
  *
  * This code is licensed under the GPL
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/m68k/mcf.h"
 #include "qemu/timer.h"
index ddeccc506430cb9a71902d12654954d06484697b..9597e861abf55af1587cd0a05aaedd6bf227e6f5 100644 (file)
@@ -5,6 +5,7 @@
  *
  * This code is licensed under the GPL
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/m68k/mcf.h"
 #include "qemu/timer.h"
index f13c7f3ae419892bf43c66cc8362e203082a1b74..ff955135822924bc3daf425e369a7d127e3cc8ab 100644 (file)
@@ -5,6 +5,7 @@
  *
  * This code is licensed under the GPL
  */
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/m68k/mcf.h"
 #include "exec/address-spaces.h"
index e8a4eed1f9c50b88810050eeb998df15c69026b3..6de74bf28eea297ab6c0801e660aa6a885e00670 100644 (file)
@@ -18,6 +18,7 @@
  * <http://www.gnu.org/licenses/lgpl-2.1.html>
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu-common.h"
 #include "migration/vmstate.h"
index ae8179c0164e939dbfecfb7324d84de6dff81b4c..f02bb5caf40d24cfeed0cc9abadf6657be0cfdac 100644 (file)
@@ -17,7 +17,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
-#include "config.h"
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "exec/gdbstub.h"
 
index 77225a20051ec7187cef2562a4d959ccf901c8f1..a8f6d9d6a626094bff9ebcb49537014136106fb9 100644 (file)
@@ -18,6 +18,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/gdbstub.h"
 
index 9dffe8de60d19a2ac8b84dbed63d39d40eaa8ee3..f360ef3e17ddde1fd4eb9dd7c598641f38508f2e 100644 (file)
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <sys/time.h>
-#include <time.h>
+#include "qemu/osdep.h"
 
 #include "cpu.h"
 #if defined(CONFIG_USER_ONLY)
index 1af0ca647b81ef5b18060760dcfd27ef067fb0d4..17d0a11914aab1c61a24e0d7ab3d1800689760b3 100644 (file)
@@ -16,6 +16,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "exec/cpu_ldst.h"
index 41ae2c605948b4ac5e547dd5264d539b4a02a11d..342c0405593e268362b3a18e4210ae464d9a09b3 100644 (file)
@@ -18,6 +18,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "disas/disas.h"
 #include "tcg-op.h"