target-arm: Clean up includes

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.

Backports commit 74c21bd07491739c6e56bcb1f962e4df730e77f3 from qemu
This commit is contained in:
Peter Maydell 2018-02-17 21:09:22 -05:00 committed by Lioncash
parent 7da263e4ea
commit cd5c4037ac
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7
10 changed files with 10 additions and 11 deletions

View File

@ -18,6 +18,7 @@
* <http://www.gnu.org/licenses/gpl-2.0.html>
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "internals.h"
#include "qemu-common.h"

View File

@ -18,6 +18,7 @@
* <http://www.gnu.org/licenses/gpl-2.0.html>
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "qemu-common.h"
#include "hw/arm/arm.h"

View File

@ -9,7 +9,7 @@
* version 2 of the License, or (at your option) any later version.
*/
#include <stdlib.h>
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/exec-all.h"

View 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"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "internals.h"
#include "exec/helper-proto.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
/*
* iwMMXt micro operations for XScale.
*

View File

@ -6,8 +6,7 @@
*
* This code is licensed under the GNU GPL v2.
*/
#include <stdlib.h>
#include <stdio.h>
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/exec-all.h"

View 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 "internals.h"

View File

@ -16,10 +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 <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "qemu/osdep.h"
#include "unicorn/platform.h"
#include "cpu.h"

View File

@ -19,10 +19,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 <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "qemu/osdep.h"
#include "unicorn/platform.h"
#include "cpu.h"