git: 41b95006f2cd - main - acpidump(8): add const qualifier to the known tables array
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Oct 2024 20:00:41 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=41b95006f2cdeb16b38333254484cfb6daf15f15 commit 41b95006f2cdeb16b38333254484cfb6daf15f15 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-10-23 18:15:18 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-10-23 20:00:10 +0000 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[] = {