perf tools: Remove all char * typecasts and use const in prototype
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Oct 2009 19:43:44 +0000 (15:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Oct 2009 08:43:17 +0000 (10:43 +0200)
commitc4dc775f53136cd6af8f88bce67cce9b42751768
tree8c5f99e1396b8dfa427b1143d71b47d15ffa0610
parentafdf1a404eed236d6f762ee44cc0f1dcc97206e0
perf tools: Remove all char * typecasts and use const in prototype

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>
tools/perf/util/trace-event-parse.c