sparc: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:16:59 +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-7-git-send-email-peter.maydell@linaro.org

20 files changed:
hw/char/grlib_apbuart.c
hw/intc/grlib_irqmp.c
hw/sparc/leon3.c
hw/sparc/sun4m.c
hw/sparc64/sun4u.c
hw/timer/grlib_gptimer.c
target-sparc/cc_helper.c
target-sparc/cpu.c
target-sparc/fop_helper.c
target-sparc/gdbstub.c
target-sparc/helper.c
target-sparc/int32_helper.c
target-sparc/int64_helper.c
target-sparc/ldst_helper.c
target-sparc/machine.c
target-sparc/mmu_helper.c
target-sparc/monitor.c
target-sparc/translate.c
target-sparc/vis_helper.c
target-sparc/win_helper.c

index 35ef66177185ca96e70e974d475bf521ad3bec8d..871524c82f56dfec2c39af49c794c1af1b39315d 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "sysemu/char.h"
 
index d1813f76b61c7583f0e7cd70b0ffe40fce4e68c2..f5ca8f752b9b6865cbcf1080c4a61e27a6f4500b 100644 (file)
@@ -24,6 +24,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "cpu.h"
 
index 22d1e7e31bd4afa555c020384092ddb742d8a29d..07c5c850ef10a34fe4fbd57a78561dc84f1b451f 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 "hw/hw.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
index 230dac955bd75eccde3ace45d9dc410021caf781..1fcec4478f203b0c2dde33e9e323887a398444a1 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 "hw/sysbus.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
index 861727f7e339d32d718388e54c8981aa9c8c8183..124c37689739b38094976fa7000710eed14c9b32 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 "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "hw/pci-host/apb.h"
index d655bb2a27b599bb937797bb6d1785b56ef6e2f9..dd000f5afa76c3a92fa8e812e129534c33cd6381 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "hw/ptimer.h"
index 35dab732169e54f875f358a4756bf7aac55127e5..44c4409346c880c2f9af84c681e4a7b9ac9fb573 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"
 
index c197a0f48a3c10913907ae190eb804ad87816979..ce903f8dfd643d480bcc0469dbe69e68cf5630bc 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/error-report.h"
 
index ee4592ef2b4109e1713d20fc3a0de3dcdc67af18..08306436ac47b4161ff9319ef36fd81bacc241d3 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"
 
index 3de3242b292dfcb3a9bc5aeb2a2374e571be1a38..e530dc52f5ee8336991f258c3719645116f774f6 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 6600834d4aa70c467009a1f33bb01eda2b8ff14a..8349cbe2cc3f757f65bd464e9677d8c8fdcddf7c 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 "exec/helper-proto.h"
index 7c380ba2a1159b5a1098456d1d288fbe685c56c6..d4d6a4b8a5f49447f9fb29cd729d7e67c71aedd7 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 "trace.h"
 #include "sysemu/sysemu.h"
index b02d22b1994ce430d057decec123ad22fa85ae57..ddef66b56953fda51b440f365b9d21fe15663665 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 "trace.h"
index c7ad47d35c9842fc7643707e3239293721e2d8ae..b0600fd24d6298bdbc09664cc1621262ff2e8f31 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 aecbe2cedbf2f2d97c77fb84e82727a9f89f000c..1046016f3af6d5a8c7c112513b42fd85194162e2 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 #include "qemu/timer.h"
index 7495406b3ea309f2faf1738dd239fed03c62b5e3..aa80c4829b299f5912b2add1e866da3501f41116 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 "trace.h"
 #include "exec/address-spaces.h"
index ca54d72d99eab283556907357e96eab9e7e8b49f..7cc1b0f87fcfa20309a673a6ecfb54b587f87cae 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 "cpu.h"
 #include "monitor/monitor.h"
 #include "monitor/hmp-target.h"
index f99ceed83423d98e27a0502556206ebca7287b6d..747f94d60e3a5a5423f89cf55a070056b46e98bb 100644 (file)
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
+#include "qemu/osdep.h"
 
 #include "cpu.h"
 #include "disas/disas.h"
index 45fc7dbe81830d376a8e3354ae897312d17e050b..8a9b763d0b5b0639b38c9d24e799c99b42db1903 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"
 
index 5b6d7b5ae34e6f1ddf4c3f88424c783977bd29db..a8a6c0cfc46e2ce72f8116e3ff8dee91d0d265d3 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 "trace.h"