lm32: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:16:57 +0000 (18:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:22 +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-5-git-send-email-peter.maydell@linaro.org

23 files changed:
disas/lm32.c
hw/char/lm32_juart.c
hw/char/lm32_uart.c
hw/char/milkymist-uart.c
hw/display/milkymist-tmu2.c
hw/display/milkymist-vgafb.c
hw/input/milkymist-softusb.c
hw/intc/lm32_pic.c
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c
hw/misc/milkymist-hpdmc.c
hw/misc/milkymist-pfpu.c
hw/net/milkymist-minimac2.c
hw/sd/milkymist-memcard.c
hw/timer/lm32_timer.c
hw/timer/milkymist-sysctl.c
target-lm32/cpu.c
target-lm32/gdbstub.c
target-lm32/helper.c
target-lm32/lm32-semi.c
target-lm32/machine.c
target-lm32/op_helper.c
target-lm32/translate.c

index 1718c86e1c0ff02abb1784e0308183d313708db3..fcc2cde23d28fc79e834066b774c61d646802c53 100644 (file)
@@ -18,7 +18,7 @@
  *
  */
 
-#include <stdio.h>
+#include "qemu/osdep.h"
 #include "disas/bfd.h"
 
 typedef enum {
index 62763f2f431218c682ca5f18f3638848f872af24..5bf8acfe8fed38a4c4ae906c4892ab671ddf8d2c 100644 (file)
@@ -17,6 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 837a46e8e1f138a2b4402c7764966fbbf8f16965..036813d0f3671a01d13009934a155558b09aec7e 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 9b89b7e63673b2a7b79e81c7e215a98884097b12..03b36b2236bd620219b4d0fcad3c19777a9ee45f 100644 (file)
@@ -21,6 +21,7 @@
  *   http://www.milkymist.org/socdoc/uart.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index e2de28176897763b80e045868959cc8d9a336e1b..9bc88f93b687322a22aa43a8c2b370d67cf5a45a 100644 (file)
@@ -24,6 +24,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index ab3074fadc295f145c911bd1cdee6b6fd853aa77..19ca256479d5cbd9c814e32db9839a0d74a93a3c 100644 (file)
@@ -22,6 +22,7 @@
  *   http://www.milkymist.org/socdoc/vgafb.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 8a02d35ca15af83e3b0b84be2d7461e4bf1dee2a..64b929281e1ba7735c5037b3d05e8dc88f16b751 100644 (file)
@@ -21,6 +21,7 @@
  *   not available yet
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 641ee4727ce3d8e468366f844d706e2ce2175f8f..edc08f184a750130554b9e258873889d34c97aea 100644 (file)
@@ -17,7 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <assert.h>
+#include "qemu/osdep.h"
 
 #include "hw/hw.h"
 #include "hw/i386/pc.h"
index eb553a174e95ca0d2609459554149cb5b4a4bdb0..efa6f91fd2a9c2b94154a8c179bf6c20542407ea 100644 (file)
@@ -17,6 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/block/flash.h"
index 13976b3489fe87b60bccde58ac62168a0d5cc332..5a37b4a1c1e0e90da8b0e9a6429f710ee86e2699 100644 (file)
@@ -17,6 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
 #include "hw/block/flash.h"
index f5f4c1b343d25dc75f9849133c83c60873fd528a..b97000fc49966bdb4f4ed2555cc9db35a1f2e1cf 100644 (file)
@@ -21,6 +21,7 @@
  *   http://www.milkymist.org/socdoc/hpdmc.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 08b604f13f4be40d94e2608d72fe813082f8969f..57acd7b36521829d92810e29c845e9609f33f543 100644 (file)
@@ -22,6 +22,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 6302b8bfab5a3f6d5ebe34fd321e635985dace61..d35d39a0e5bad02ed950180d3a0b549a8e1659e7 100644 (file)
@@ -22,6 +22,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index b430d5668716c137f929629cd7664a63a5a81346..c04ff02fadd991f1c926a20758c1e11324bb6945 100644 (file)
@@ -21,6 +21,7 @@
  *   http://www.milkymist.org/socdoc/memcard.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
index d2ab1e74b2ae927173c1000880a3984275b5b574..3198355aa4e67b5dd1d7979fb11f539891d2be9e 100644 (file)
@@ -21,6 +21,7 @@
  *   http://www.latticesemi.com/documents/mico32timer.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
index 30535a4e3d37d07eb638e8b45f46931084b236c0..5f2948037aa3de3793c21ed71d2b1836ee5ceb81 100644 (file)
@@ -21,6 +21,7 @@
  *   http://www.milkymist.org/socdoc/sysctl.pdf
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "sysemu/sysemu.h"
index 0bc544c1e08e1e832865929e3bc3a660bebbdf06..f93bb5d0dd3d7a07e3a3619efcb3753ec900e734 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"
 
index 4979a98d743306dd6f7e7c5fac5635769f6d022d..8ac1288bb6935c2edf6a4192a45bc7874a0ea9a4 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"
 #include "hw/lm32/lm32_pic.h"
index e26c13357b7c1f02d594d5a8b6844ed1164d12e0..3ebec68cba763056940974389e082c26aa8275a2 100644 (file)
@@ -17,6 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu/host-utils.h"
 #include "sysemu/sysemu.h"
index ec6524f376d74c680fa2ecc56f244c77cae98c6e..20f1a1cd482293d0e83749ea9b52b5eb97a9be20 100644 (file)
  * See the COPYING file in the top-level directory.
  */
 
-#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-#include <stddef.h>
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "qemu/log.h"
index 8327c6d97cbb4a2e96d0075c7453aa71a7f12e7a..91c943d19377c92bbff0cb1afe7b7c61edc92ce2 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 
index 61209c19b23910c1d825b47f8e2951c707af26ff..b6759e02259859d1da8829bc322542735e86cc54 100644 (file)
@@ -1,4 +1,4 @@
-#include <assert.h>
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 #include "qemu/host-utils.h"
index fa5b0b93a3f2b353b63e47cfd78c94814c6df16c..477d4285a5213be4ffd31fe15c4c8568c266ca21 100644 (file)
@@ -17,6 +17,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 "exec/helper-proto.h"