OSDN Git Service

alpha: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:17:04 +0000 (18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:23 +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-12-git-send-email-peter.maydell@linaro.org

14 files changed:
disas/alpha.c
hw/alpha/dp264.c
hw/alpha/pci.c
hw/alpha/typhoon.c
target-alpha/cpu.c
target-alpha/fpu_helper.c
target-alpha/gdbstub.c
target-alpha/helper.c
target-alpha/int_helper.c
target-alpha/machine.c
target-alpha/mem_helper.c
target-alpha/sys_helper.c
target-alpha/translate.c
target-alpha/vax_helper.c

index a950b9c..44d00a3 100644 (file)
@@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
 along with this file; see the file COPYING.  If not, see
 <http://www.gnu.org/licenses/>. */
 
-#include <stdio.h>
+#include "qemu/osdep.h"
 #include "disas/bfd.h"
 
 /* MAX is redefined below, so remove any previous definition. */
index 38b85ba..992d1b2 100644 (file)
@@ -6,6 +6,7 @@
  * that we need to emulate as well.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "elf.h"
 #include "hw/loader.h"
index 5226e43..fb902bb 100644 (file)
@@ -6,7 +6,7 @@
  * ??? Sparse memory access not implemented.
  */
 
-#include "config.h"
+#include "qemu/osdep.h"
 #include "alpha_sys.h"
 #include "qemu/log.h"
 #include "sysemu/sysemu.h"
index 35dc8a5..b86ff5e 100644 (file)
@@ -6,6 +6,7 @@
  * This work is licensed under the GNU GPL license version 2 or later.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "hw/hw.h"
 #include "hw/devices.h"
index e5bdfa8..2eab060 100644 (file)
@@ -19,6 +19,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 0c65e1f..5ab7d5e 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 "exec/helper-proto.h"
 #include "fpu/softfloat.h"
index 99a4051..199f028 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 5a85335..6dec263 100644 (file)
@@ -17,9 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdint.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
 
 #include "cpu.h"
 #include "fpu/softfloat.h"
index d7f4774..777e48d 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 "exec/helper-proto.h"
 #include "qemu/host-utils.h"
index d9bf977..9ab0928 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 
index c9258f5..7fee9a6 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 "exec/helper-proto.h"
 #include "exec/cpu_ldst.h"
index 75c96c1..e2dec15 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 "exec/helper-proto.h"
 #include "sysemu/sysemu.h"
index 9909c70..7d419d9 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 "qemu/host-utils.h"
index 2e2f499..e74ac3e 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 "exec/helper-proto.h"
 #include "fpu/softfloat.h"