From: Jan Beulich Date: Fri, 1 Aug 2025 07:16:56 +0000 (+0200) Subject: opcodes/aarch64: make aarch64_opnd_qualifiers[] static const X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42acebbbdce87e895d25865ac5e7e8d7fadf7dba;p=thirdparty%2Fbinutils-gdb.git 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. --- diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c index 9c4e181c9a7..7e7875b826a 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},