HomeFreeBSD

kern: Align the declaration of kernconfstring with its definition

Description

kern: Align the declaration of kernconfstring with its definition

It is defined as const char[] in config.c which is auto generated by
usr.sbin/config/kernconf.tmpl .

While here prefer macro SYSCTL_CONST_STRING to avoid casting.

MFC after: 1 week

(cherry picked from commit 0f64fc6a3486454ad708f517633f930e611fd6d2)
(cherry picked from commit d6271b6507b2404bd03f21f76a4e8394e083ae80)

Details

Provenance
zleiAuthored on Aug 22 2024, 10:00 AM
Parents
rG5863982b3d02: init_main: Sprinkle const qualifiers where appropriate
Branches
Unknown
Tags
Unknown