From 42acebbbdce87e895d25865ac5e7e8d7fadf7dba Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 1 Aug 2025 09:16:56 +0200 Subject: [PATCH] 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. --- opcodes/aarch64-opc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, -- 2.47.2