Skip to content

Commit

Permalink
perf tools: Remove all char * typecasts and use const in prototype
Browse files Browse the repository at this point in the history
The (char *) for all the static strings was a fix for the
symptom and not the disease. The real issue was that the
function prototypes needed to be declared "const char *".

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091014194400.635935008@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Oct 15, 2009
1 parent afdf1a4 commit c4dc775
Showing 1 changed file with 61 additions and 61 deletions.
Loading

0 comments on commit c4dc775

Please sign in to comment.