diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-11-15 19:39:43 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-04 20:50:30 +0000 |
commit | 6e2d864edf5ef4d75e2fec061f4cd247b4d315be (patch) | |
tree | 688b8474064c2c03608f7219acb73b921e8d4455 /microblaze-dis.c | |
parent | e6e055c9d79c665de200fc46c746d403d3d943ad (diff) |
*-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>
Diffstat (limited to 'microblaze-dis.c')
-rw-r--r-- | microblaze-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/microblaze-dis.c b/microblaze-dis.c index 7694a43ac1..16c312f2f5 100644 --- a/microblaze-dis.c +++ b/microblaze-dis.c @@ -789,7 +789,7 @@ read_insn_microblaze (bfd_vma memaddr, int print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info) { - fprintf_ftype fprintf_func = info->fprintf_func; + fprintf_function fprintf_func = info->fprintf_func; void * stream = info->stream; unsigned long inst, prev_inst; struct op_code_struct * op, *pop; |