From 41b95006f2cdeb16b38333254484cfb6daf15f15 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 23 Oct 2024 21:15:18 +0300 Subject: [PATCH] acpidump(8): add const qualifier to the known tables array Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation --- usr.sbin/acpi/acpidump/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c index 119f74c196d5..c9e2d5745d50 100644 --- a/usr.sbin/acpi/acpidump/acpi.c +++ b/usr.sbin/acpi/acpidump/acpi.c @@ -2547,7 +2547,7 @@ acpi_print_rsd_ptr(ACPI_TABLE_RSDP *rp) printf(END_COMMENT); } -static struct { +static const struct { const char *sig; void (*fnp)(ACPI_TABLE_HEADER *); } known[] = {