aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-options.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 12:25:09 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 12:28:34 -0300
commitdc4ff19341126155c5714119396efbae62ab40bf (patch)
treeb0d73a3146a79341bbbdebbb1139b84067306315 /tools/perf/util/parse-options.c
parentperf record: Fix bug mismatch with -c option definition (diff)
downloadlinux-dev-dc4ff19341126155c5714119396efbae62ab40bf.tar.xz
linux-dev-dc4ff19341126155c5714119396efbae62ab40bf.zip
perf tui: Add workaround for slang < 2.1.4
Older versions of the slang library didn't used the 'const' specifier, causing problems with modern compilers of this kind: util/newt.c:252: error: passing argument 1 of ‘SLsmg_printf’ discards qualifiers from pointer target type Fix it by using some wrappers that when needed const the affected parameters back to plain (char *). Reported-by: Lin Ming <ming.m.lin@intel.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Lin Ming <ming.m.lin@intel.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <20100517145421.GD29052@ghostprotocols.net> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-options.c')
0 files changed, 0 insertions, 0 deletions