From e3c991260959c8fa5f30bbb278545a696a071c2c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 16 Dec 2002 09:54:12 +0000 Subject: [PATCH] * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register keyword. --- opcodes/ChangeLog | 5 +++++ opcodes/ns32k-dis.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4d206b5256..5befb2dd6a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2002-12-16 Alan Modra + + * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register + keyword. + 2002-12-13 Alan Modra * h8500-opc.h (h8500_table): Add missing initializers to quiet diff --git a/opcodes/ns32k-dis.c b/opcodes/ns32k-dis.c index bc51dafeb6..fe7144ae50 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 */ -- 2.34.1