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>
28 files changed:
#define NDEBUG
#endif
-#include <assert.h>
-
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
#include "block_int.h"
#include <zlib.h>
#include "aes.h"
-#include <assert.h>
/*
Differences with QCOW:
#include "qemu-timer.h"
#include "qemu-char.h"
#include "block_int.h"
-#include <assert.h>
#ifdef CONFIG_AIO
#include "posix-aio-compat.h"
#endif
#include "qemu-common.h"
#include "qemu-timer.h"
#include "block_int.h"
-#include <assert.h>
#include <windows.h>
#include <winioctl.h>
*/
#include <sys/stat.h>
#include <dirent.h>
-#include <assert.h>
#include "qemu-common.h"
#include "block_int.h"
*/
#include "qemu-common.h"
#include "host-utils.h"
-#include <assert.h>
void pstrcpy(char *buf, int buf_size, const char *str)
{
* THE SOFTWARE.
*/
-#include <assert.h>
#include "hw.h"
#include "audiodev.h"
#include "audio/audio.h"
#include "qemu-timer.h"
#include "usb.h"
#include "baum.h"
-#include <assert.h>
#include <brlapi.h>
#include <brlapi_constants.h>
#include <brlapi_keycodes.h>
# warning "PXE boot still not working!"
#endif
-#include <assert.h>
#include <stddef.h> /* offsetof */
#include "hw.h"
#include "pci.h"
* - No emulation of EEPROM timings.
*/
-#include <assert.h>
#include "hw.h"
#include "eeprom93xx.h"
* THE SOFTWARE.
*/
#include <stdio.h>
-#include <assert.h>
#include "hw.h"
#include "sh.h"
#include "sysemu.h"
* This code is licenced under the GPL.
*/
-#include <assert.h>
#include "sh_intc.h"
#include "hw.h"
#include "sh.h"
#include "hw.h"
#include "sh.h"
#include "qemu-char.h"
-#include <assert.h>
//#define DEBUG_SERIAL
*/
#include <stdio.h>
-#include <assert.h>
#include "hw.h"
#include "pc.h"
#include "console.h"
-#include <assert.h>
#include "hw.h"
#include "sh.h"
#include "sysemu.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <assert.h>
#include "config-host.h"
#ifndef O_LARGEFILE
#include "qemu-common.h"
#include "osdep.h"
#include "block_int.h"
-#include <assert.h>
#include <stdio.h>
#ifdef _WIN32
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
*/
-#include <assert.h>
#include "exec.h"
#include "mmu.h"
#include "helper.h"
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#include <string.h>
#include <inttypes.h>
#include <signal.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#include <string.h>
#include <inttypes.h>
#include <signal.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
-#include <assert.h>
#include "config.h"
#include "cpu.h"
#include <string.h>
#include <inttypes.h>
#include <signal.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#include <string.h>
#include <inttypes.h>
#include <signal.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#include <string.h>
#include <inttypes.h>
#include <signal.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
-#include <assert.h>
#define DEBUG_DISAS
#define SH4_DEBUG_DISAS
#include <string.h>
#include <inttypes.h>
#include <signal.h>
-#include <assert.h>
#include "cpu.h"
#include "exec-all.h"
#define NDEBUG
#endif
-#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>