diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-08-01 09:16:56 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-08-01 09:16:56 +0200 |
commit | 42acebbbdce87e895d25865ac5e7e8d7fadf7dba (patch) | |
tree | 6d9db6e958b926010ae81af83a5ef5a4893e629f | |
parent | f79d7a8b4c93374fa8506c59b47f0dca57df8dc4 (diff) | |
download | binutils-42acebbbdce87e895d25865ac5e7e8d7fadf7dba.zip binutils-42acebbbdce87e895d25865ac5e7e8d7fadf7dba.tar.gz binutils-42acebbbdce87e895d25865ac5e7e8d7fadf7dba.tar.bz2 |
opcodes/aarch64: make aarch64_opnd_qualifiers[] static const
There's no reason to allow the array to be modifiable, nor for it to be
globally visible.
-rw-r--r-- | opcodes/aarch64-opc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c index 9c4e181..7e7875b 100644 --- a/opcodes/aarch64-opc.c +++ b/opcodes/aarch64-opc.c @@ -814,7 +814,7 @@ struct operand_qualifier_data }; /* Indexed by the operand qualifier enumerators. */ -struct operand_qualifier_data aarch64_opnd_qualifiers[] = +static const struct operand_qualifier_data aarch64_opnd_qualifiers[] = { {0, 0, 0, "NIL", OQK_NIL}, |