| Date | Wed, 14 Oct 2009 22:26:02 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 13/13] [PATCH 13/13] perf tools: remove all char * typecasts and use const in prototype |
| |
On Wed, Oct 14, 2009 at 03:43:44PM -0400, Steven Rostedt wrote: > From: Steven Rostedt <srostedt@redhat.com> > > 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> > ---
Yep. I know it's a shame what I did. I was just harassed by tons of warnings when I integrated trace-cmd into perf (because of its gcc flags) and then I was too impatient and did the wrong thing :)
Thanks.
|