diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-16 01:00:45 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-08 18:26:08 -0500 |
commit | bfd428bc12af433831a4c7e9a0e692f21a9adf5e (patch) | |
tree | 6643cfec9aea9190d6d52a4832b37400ca2fc126 /opcodes/tic54x-dis.c | |
parent | 3d4aae4860c41aeaab7a8d3daefe0fb50b40f4c6 (diff) | |
download | gdb-bfd428bc12af433831a4c7e9a0e692f21a9adf5e.zip gdb-bfd428bc12af433831a4c7e9a0e692f21a9adf5e.tar.gz gdb-bfd428bc12af433831a4c7e9a0e692f21a9adf5e.tar.bz2 |
opcodes: tic54x: namespace exported variables
The tic54x exports some fairly generic variable names that can
conflict with programs that use them, so put proper tic54x_
prefixes on all of them.
Diffstat (limited to 'opcodes/tic54x-dis.c')
-rw-r--r-- | opcodes/tic54x-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/tic54x-dis.c b/opcodes/tic54x-dis.c index 85309ea..5bf9a58 100644 --- a/opcodes/tic54x-dis.c +++ b/opcodes/tic54x-dis.c @@ -529,7 +529,7 @@ sprint_mmr (disassemble_info *info ATTRIBUTE_UNUSED, char buf[], int mmr) { - tic54x_symbol *reg = (tic54x_symbol *) mmregs; + const tic54x_symbol *reg = tic54x_mmregs; while (reg->name != NULL) { if (mmr == reg->value) |