Commit 7b31bbc2 authored by Peter Maydell's avatar Peter Maydell
Browse files

exec: 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.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-4-git-send-email-peter.maydell@linaro.org
parent 42f7a448
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */

#include "config.h"
#include "qemu/osdep.h"
#include "cpu.h"
#include "sysemu/cpus.h"
#include "exec/memory-internal.h"
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +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 "config.h"
#include "qemu/osdep.h"
#include "cpu.h"
#include "trace.h"
#include "disas/disas.h"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
 */

/* Needed early for CONFIG_BSD etc. */
#include "config-host.h"
#include "qemu/osdep.h"

#include "monitor/monitor.h"
#include "qapi/qmp/qerror.h"
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */

#include "config.h"
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/exec-all.h"
#include "exec/memory.h"
+1 −3
Original line number Diff line number Diff line
@@ -16,9 +16,8 @@
 * 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"
#ifndef _WIN32
#include <sys/types.h>
#include <sys/mman.h>
#endif

@@ -30,7 +29,6 @@
#include "hw/boards.h"
#endif
#include "hw/qdev.h"
#include "qemu/osdep.h"
#include "sysemu/kvm.h"
#include "sysemu/sysemu.h"
#include "hw/xen/xen.h"
Loading