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-16-git-send-email-peter.maydell@linaro.org
12 files changed:
* See the COPYING file in the top-level directory for details.
*/
+#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#include "qemu/bitops.h"
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "elf.h"
#include "tcg-be-ldst.h"
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#ifndef NDEBUG
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#ifdef HOST_WORDS_BIGENDIAN
/* The Linux kernel doesn't provide any information about the available
instruction set. Probe it using a signal handler. */
-#include <signal.h>
#ifndef use_movnz_instructions
bool use_movnz_instructions = false;
* THE SOFTWARE.
*/
-#include "config.h"
+#include "qemu/osdep.h"
-#include <stdlib.h>
-#include <stdio.h>
#include "qemu-common.h"
#include "tcg-op.h"
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#if defined _CALL_DARWIN || defined __APPLE__
}
#elif defined __APPLE__
-#include <stdio.h>
-#include <sys/types.h>
#include <sys/sysctl.h>
static void __attribute__((constructor)) tcg_cache_init(void)
}
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/types.h>
#include <sys/sysctl.h>
static void __attribute__((constructor)) tcg_cache_init(void)
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
/* We only support generating code for 64-bit mode. */
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg-be-null.h"
#ifndef NDEBUG
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg/tcg.h"
#if defined(CONFIG_TCG_INTERPRETER)
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg.h"
#include "tcg-op.h"
#define USE_LIVENESS_ANALYSIS
#define USE_TCG_OPTIMIZATIONS
-#include "config.h"
+#include "qemu/osdep.h"
/* Define to jump the ELF file used to communicate with GDB. */
#undef DEBUG_JIT
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "tcg-be-null.h"
/* TODO list: