git: 192aae0a9f62 - stable/14 - libprocstat: constify psc_type_info[]

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 31 Mar 2025 02:41:53 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=192aae0a9f62417dd8558ee753f8853e224f0399

commit 192aae0a9f62417dd8558ee753f8853e224f0399
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-03-18 01:43:54 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-03-31 02:41:32 +0000

    libprocstat: constify psc_type_info[]
    
    (cherry picked from commit debcd4c05701be0ff48c6b350ed6b3a80e5f0b1f)
---
 lib/libprocstat/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libprocstat/core.c b/lib/libprocstat/core.c
index 1f64e728b0af..a3e500367920 100644
--- a/lib/libprocstat/core.c
+++ b/lib/libprocstat/core.c
@@ -58,7 +58,7 @@ struct procstat_core
 	GElf_Phdr	pc_phdr;
 };
 
-static struct psc_type_info {
+static const struct psc_type_info {
 	unsigned int	n_type;
 	int		structsize;
 } psc_type_info[PSC_TYPE_MAX] = {