Include assert.h from qemu-common.h and remove other direct uses. cpu-all.h still need to include it because of the dyngen-exec.h hacks Signed-off-by: Paul Brook <paul@codesourcery.com>
@@ -34,8 +34,6 @@
#define NDEBUG
#endif
-#include <assert.h>
-
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
@@ -25,7 +25,6 @@
#include "block_int.h"
#include <zlib.h>
#include "aes.h"
/*
Differences with QCOW:
#include "qemu-timer.h"
#include "qemu-char.h"
#ifdef CONFIG_AIO
#include "posix-aio-compat.h"
@@ -24,7 +24,6 @@
#include "qemu-common.h"
#include <windows.h>
#include <winioctl.h>
*/
#include <sys/stat.h>
#include <dirent.h>
@@ -23,7 +23,6 @@
#include "host-utils.h"
void pstrcpy(char *buf, int buf_size, const char *str)
{
@@ -22,7 +22,6 @@
* THE SOFTWARE.
#include "hw.h"
#include "audiodev.h"
#include "audio/audio.h"
@@ -26,7 +26,6 @@
#include "usb.h"
#include "baum.h"
#include <brlapi.h>
#include <brlapi_constants.h>
#include <brlapi_keycodes.h>
@@ -38,7 +38,6 @@
# warning "PXE boot still not working!"
#include <stddef.h> /* offsetof */
#include "pci.h"
@@ -36,7 +36,6 @@
* - No emulation of EEPROM timings.
#include "eeprom93xx.h"
#include <stdio.h>
#include "sh.h"
#include "sysemu.h"
@@ -8,7 +8,6 @@
* This code is licenced under the GPL.
#include "sh_intc.h"
@@ -27,7 +27,6 @@
//#define DEBUG_SERIAL
#include "pc.h"
#include "console.h"
@@ -1,4 +1,3 @@
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <fcntl.h>
+#include <assert.h>
#include "config-host.h"
#ifndef O_LARGEFILE
#include "osdep.h"
#ifdef _WIN32
@@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
#include "exec.h"
#include "mmu.h"
#include "helper.h"
@@ -29,7 +29,6 @@
#include <string.h>
#include <inttypes.h>
#include "cpu.h"
#include "exec-all.h"
#include <signal.h>
#include "config.h"
#define DEBUG_DISAS
#define SH4_DEBUG_DISAS
@@ -32,7 +32,6 @@
#include <stdarg.h>
#include <stdlib.h>