Commit 55616505876d6683130076b810a27c7889321560
1 parent
6c7f4b47
Include assert.h from qemu-common.h
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>
Showing
28 changed files
with
1 additions
and
28 deletions
aes.c
block-qcow2.c
block-raw-posix.c
@@ -25,7 +25,6 @@ | @@ -25,7 +25,6 @@ | ||
25 | #include "qemu-timer.h" | 25 | #include "qemu-timer.h" |
26 | #include "qemu-char.h" | 26 | #include "qemu-char.h" |
27 | #include "block_int.h" | 27 | #include "block_int.h" |
28 | -#include <assert.h> | ||
29 | #ifdef CONFIG_AIO | 28 | #ifdef CONFIG_AIO |
30 | #include "posix-aio-compat.h" | 29 | #include "posix-aio-compat.h" |
31 | #endif | 30 | #endif |
block-raw-win32.c
@@ -24,7 +24,6 @@ | @@ -24,7 +24,6 @@ | ||
24 | #include "qemu-common.h" | 24 | #include "qemu-common.h" |
25 | #include "qemu-timer.h" | 25 | #include "qemu-timer.h" |
26 | #include "block_int.h" | 26 | #include "block_int.h" |
27 | -#include <assert.h> | ||
28 | #include <windows.h> | 27 | #include <windows.h> |
29 | #include <winioctl.h> | 28 | #include <winioctl.h> |
30 | 29 |
block-vvfat.c
cutils.c
@@ -23,7 +23,6 @@ | @@ -23,7 +23,6 @@ | ||
23 | */ | 23 | */ |
24 | #include "qemu-common.h" | 24 | #include "qemu-common.h" |
25 | #include "host-utils.h" | 25 | #include "host-utils.h" |
26 | -#include <assert.h> | ||
27 | 26 | ||
28 | void pstrcpy(char *buf, int buf_size, const char *str) | 27 | void pstrcpy(char *buf, int buf_size, const char *str) |
29 | { | 28 | { |
hw/adlib.c
hw/baum.c
@@ -26,7 +26,6 @@ | @@ -26,7 +26,6 @@ | ||
26 | #include "qemu-timer.h" | 26 | #include "qemu-timer.h" |
27 | #include "usb.h" | 27 | #include "usb.h" |
28 | #include "baum.h" | 28 | #include "baum.h" |
29 | -#include <assert.h> | ||
30 | #include <brlapi.h> | 29 | #include <brlapi.h> |
31 | #include <brlapi_constants.h> | 30 | #include <brlapi_constants.h> |
32 | #include <brlapi_keycodes.h> | 31 | #include <brlapi_keycodes.h> |
hw/eepro100.c
@@ -38,7 +38,6 @@ | @@ -38,7 +38,6 @@ | ||
38 | # warning "PXE boot still not working!" | 38 | # warning "PXE boot still not working!" |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | -#include <assert.h> | ||
42 | #include <stddef.h> /* offsetof */ | 41 | #include <stddef.h> /* offsetof */ |
43 | #include "hw.h" | 42 | #include "hw.h" |
44 | #include "pci.h" | 43 | #include "pci.h" |
hw/eeprom93xx.c
hw/sh7750.c
hw/sh_intc.c
hw/sh_serial.c
hw/sm501.c
hw/tc58128.c
qemu-common.h
@@ -23,6 +23,7 @@ | @@ -23,6 +23,7 @@ | ||
23 | #include <unistd.h> | 23 | #include <unistd.h> |
24 | #include <fcntl.h> | 24 | #include <fcntl.h> |
25 | #include <sys/stat.h> | 25 | #include <sys/stat.h> |
26 | +#include <assert.h> | ||
26 | #include "config-host.h" | 27 | #include "config-host.h" |
27 | 28 | ||
28 | #ifndef O_LARGEFILE | 29 | #ifndef O_LARGEFILE |
qemu-img.c
target-cris/op_helper.c
@@ -19,7 +19,6 @@ | @@ -19,7 +19,6 @@ | ||
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA |
20 | */ | 20 | */ |
21 | 21 | ||
22 | -#include <assert.h> | ||
23 | #include "exec.h" | 22 | #include "exec.h" |
24 | #include "mmu.h" | 23 | #include "mmu.h" |
25 | #include "helper.h" | 24 | #include "helper.h" |
target-cris/translate.c
target-i386/helper.c
target-i386/translate.c
target-m68k/translate.c
target-mips/helper.c
target-ppc/helper.c
target-sh4/helper.c
target-sh4/translate.c
@@ -22,7 +22,6 @@ | @@ -22,7 +22,6 @@ | ||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | #include <inttypes.h> | 24 | #include <inttypes.h> |
25 | -#include <assert.h> | ||
26 | 25 | ||
27 | #define DEBUG_DISAS | 26 | #define DEBUG_DISAS |
28 | #define SH4_DEBUG_DISAS | 27 | #define SH4_DEBUG_DISAS |
target-sparc/helper.c