All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf: fix compile error in annotate.h
@ 2011-02-08 12:20 Stephane Eranian
  2011-02-08 13:51 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Stephane Eranian @ 2011-02-08 12:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: peterz, mingo, paulus, davem, fweisbec, perfmon2-devel, eranian,
	eranian, robert.richter, acme

The following patch is necessary to compile without NEWT.

Signed-off-by: Stephane Eranian <eranian@google.com>
---

diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index b1253aa..bc08b36 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -82,7 +82,7 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map, int evidx,
 			 int max_lines);
 
 #ifdef NO_NEWT_SUPPORT
-static inline int symbol__tui_annotate(symbol *sym __used,
+static inline int symbol__tui_annotate(struct symbol *sym __used,
 				       struct map *map __used, int evidx __used)
 {
 	return 0;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-08 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 12:20 [PATCH] perf: fix compile error in annotate.h Stephane Eranian
2011-02-08 13:51 ` Arnaldo Carvalho de Melo
2011-02-08 15:19   ` Ingo Molnar
2011-02-08 15:47     ` Stephane Eranian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.