Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2024 20:00:41 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 41b95006f2cd - main - acpidump(8): add const qualifier to the known tables array
Message-ID:  <202410232000.49NK0fhQ040246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[] = {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410232000.49NK0fhQ040246>