diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-12-02 13:13:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-12-02 13:13:37 +0000 |
commit | e3f52ead91b111334d16e87df989e99ae138d612 (patch) | |
tree | f2eb50b98acf496bc061f867ce6ef9d476f63eca /opcodes/w65-dis.c | |
parent | f687939c214181fd52c48b777a5c8d72cccc773d (diff) | |
download | binutils-redhat-e3f52ead91b111334d16e87df989e99ae138d612.tar.gz |
* arm-dis.c (print_insn_arm): Constify "insn". Formatting.
(print_insn_thumb): Likewise.
* h8500-dis.c (print_insn_h8500): Constify "opcode".
* mcore-dis.c (print_insn_mcore): Constify "op". Formatting.
* ns32k-dis.c (print_insn_arg <case 'F'>): Use a union to avoid
type-punned pointer warnings.
<case 'L'>: Likewise. Fix error message too.
* pdp11-dis.c (print_reg): Warning fix.
* sh-dis.c (print_movxy): Constify "op" param.
(print_insn_ddt): Constify sh_opcode_info vars.
(print_insn_ppi): Likewise.
(print_insn_sh): Likewise.
* tic30-dis.c (cnvt_tmsfloat_ieee): Use a union to avoid
type-punned pointer warnings.
* w65-dis.c (print_insn_w65): Constify "op".
Diffstat (limited to 'opcodes/w65-dis.c')
-rw-r--r-- | opcodes/w65-dis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/w65-dis.c b/opcodes/w65-dis.c index 8e9c724b1f..3f2affa808 100644 --- a/opcodes/w65-dis.c +++ b/opcodes/w65-dis.c @@ -1,5 +1,5 @@ /* Disassemble WDC 65816 instructions. - Copyright 1995, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1995, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -84,7 +84,7 @@ print_insn_w65 (memaddr, info) { int status = 0; unsigned char insn[4]; - register struct opinfo *op; + const struct opinfo *op; int i; int X = 0; int M = 0; |