aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-pinsn.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-06-13 06:08:09 +0000
committerJohn Gilmore <gnu@cygnus>1992-06-13 06:08:09 +0000
commit609f87d4c94e0a0f897727701ede20f46af7fa1b (patch)
tree9e5624918fb674d468046bacaf10e444b607e5ca /gdb/m68k-pinsn.c
parent4ae6ed3a9e45fc931575f406299ef5b1b0627bdb (diff)
downloadgdb-609f87d4c94e0a0f897727701ede20f46af7fa1b.zip
gdb-609f87d4c94e0a0f897727701ede20f46af7fa1b.tar.gz
gdb-609f87d4c94e0a0f897727701ede20f46af7fa1b.tar.bz2
Remove reg_names decl (now in defs.h).
Diffstat (limited to 'gdb/m68k-pinsn.c')
-rw-r--r--gdb/m68k-pinsn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m68k-pinsn.c b/gdb/m68k-pinsn.c
index 6e47839..f5a9fb5 100644
--- a/gdb/m68k-pinsn.c
+++ b/gdb/m68k-pinsn.c
@@ -44,9 +44,9 @@ print_insn_arg PARAMS ((char *, unsigned char *, unsigned char *, CORE_ADDR,
/* Number of elements in the opcode table. */
#define NOPCODES (sizeof m68k_opcodes / sizeof m68k_opcodes[0])
-extern char *reg_names[];
-char *fpcr_names[] = { "", "fpiar", "fpsr", "fpiar/fpsr", "fpcr",
- "fpiar/fpcr", "fpsr/fpcr", "fpiar-fpcr"};
+const char * const fpcr_names[] = {
+ "", "fpiar", "fpsr", "fpiar/fpsr", "fpcr",
+ "fpiar/fpcr", "fpsr/fpcr", "fpiar-fpcr"};
/* Define accessors for 68K's 1, 2, and 4-byte signed quantities.
The _SHIFT values move the quantity to the high order end of an