aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-12-16 09:54:12 +0000
committerAlan Modra <amodra@gmail.com>2002-12-16 09:54:12 +0000
commite3c991260959c8fa5f30bbb278545a696a071c2c (patch)
treec2cbad23153b15e521fc2e1fdef4a4e61c4951dc
parent9bd1915f75f59a060567d99c7a386c9ecde5ba80 (diff)
downloadgdb-e3c991260959c8fa5f30bbb278545a696a071c2c.zip
gdb-e3c991260959c8fa5f30bbb278545a696a071c2c.tar.gz
gdb-e3c991260959c8fa5f30bbb278545a696a071c2c.tar.bz2
* ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
keyword.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/ns32k-dis.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4d206b5..5befb2d 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-16 Alan Modra <amodra@bigpond.net.au>
+
+ * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
+ keyword.
+
2002-12-13 Alan Modra <amodra@bigpond.net.au>
* h8500-opc.h (h8500_table): Add missing initializers to quiet
diff --git a/opcodes/ns32k-dis.c b/opcodes/ns32k-dis.c
index bc51daf..fe7144a 100644
--- a/opcodes/ns32k-dis.c
+++ b/opcodes/ns32k-dis.c
@@ -405,8 +405,8 @@ print_insn_ns32k (memaddr, info)
bfd_vma memaddr;
disassemble_info *info;
{
- register unsigned int i;
- register char *d;
+ unsigned int i;
+ const char *d;
unsigned short first_word;
int ioffset; /* bits into instruction */
int aoffset; /* bits into arguments */