mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 14:30:06 -04:00
perf demangle-java: 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>
This commit is contained in:
@@ -158,7 +158,7 @@ char *
|
||||
java_demangle_sym(const char *str, int flags)
|
||||
{
|
||||
char *buf, *ptr;
|
||||
char *p;
|
||||
const char *p;
|
||||
size_t len, l1 = 0;
|
||||
|
||||
if (!str)
|
||||
|
||||
Reference in New Issue
Block a user