forked from Imagelibrary/binutils-gdb
opcodes/ppc: make ppc_opts[] static const
There's no reason to allow the array to be modifiable, nor for it to be globally visible.
This commit is contained in:
@@ -72,7 +72,7 @@ struct ppc_mopt {
|
||||
ppc_cpu_t sticky;
|
||||
};
|
||||
|
||||
struct ppc_mopt ppc_opts[] = {
|
||||
static const struct ppc_mopt ppc_opts[] = {
|
||||
{ "403", PPC_OPCODE_PPC | PPC_OPCODE_403,
|
||||
0 },
|
||||
{ "405", PPC_OPCODE_PPC | PPC_OPCODE_403 | PPC_OPCODE_405,
|
||||
|
||||
Reference in New Issue
Block a user