]> git.ipfire.org Git - thirdparty/linux.git/commit
perf units: Constify variables storing the result of strchr() on const tables
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 04:15:47 +0000 (01:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jan 2026 05:28:33 +0000 (02:28 -0300)
commit0e14cb3b24f8f301cf6490a4493afc98321ed5bb
tree99ccfd0f399c8df1d0c44e1aadbaeb1f66df717f
parent97b81df7225830c4db3c17ed1235d2f3eb613d3d
perf units: Constify variables storing the result of strchr() on const tables

As newer glibcs will propagate the const attribute of the searched table
to its return.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/units.c