diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-17 12:25:09 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-17 12:28:34 -0300 |
commit | dc4ff19341126155c5714119396efbae62ab40bf (patch) | |
tree | b0d73a3146a79341bbbdebbb1139b84067306315 /scripts/basic/docproc.c | |
parent | 3de29cab1f8d62db557a4afed0fb17eebfe64438 (diff) |
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 <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Lin Ming <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions