opcodes/riscv-dis.c: Make XLEN variable static
authorTsukasa OI <research_trasio@irq.a4lg.com>
Sat, 27 Aug 2022 13:33:51 +0000 (13:33 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 14 Oct 2022 05:21:41 +0000 (05:21 +0000)
commit3009ffe06c8ede5fbb7c9d37dfc731ce2c8fdf45
tree11d3fe8d2fe223c8b7dedc4d17c1b9d5126693ea
parent354c1c098abe2b5cbc9da9751d29c5e5a0072376
opcodes/riscv-dis.c: Make XLEN variable static

Before changing the core disassembler, we take care of minor code clarity
issues and improve readability.

Since xlen variable is not (and should not) used outside riscv-dis.c,
this commit makes this variable static.

opcodes/ChangeLog:

* riscv-dis.c (xlen): Make this variable static.
opcodes/riscv-dis.c