*-dis: Replace fprintf_ftype by fprintf_function (format checking)
This patch adds more printf format checking. Additional modifications were needed for this code change: * alpha-dis.c: The local definition of MAX conflicts with a previous definition from osdep.h, so add an #undef. * dis-asm.h: Add include for fprintf_function (qemu-common.h). The standard (now redundant) includes are removed. * mis-dis.c: The definition of ARRAY_SIZE is no longer needed and must be removed (conflict with previous definition from qemu-common.h). * sh4-dis.c: Remove some unneeded forward declarations. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by:Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
Showing
- alpha-dis.c 3 additions, 0 deletionsalpha-dis.c
- arm-dis.c 7 additions, 7 deletionsarm-dis.c
- dis-asm.h 2 additions, 8 deletionsdis-asm.h
- m68k-dis.c 1 addition, 1 deletionm68k-dis.c
- microblaze-dis.c 1 addition, 1 deletionmicroblaze-dis.c
- mips-dis.c 0 additions, 2 deletionsmips-dis.c
- sh4-dis.c 5 additions, 11 deletionssh4-dis.c
Loading
Please register or sign in to comment