aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@amd64.org>2011-02-07 09:32:18 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-02-07 09:41:55 -0500
commita2221796256ea7b236cec6bf027c1c1de5b8ccd7 (patch)
tree05c4ad1ae6f9d660ab288953fb5ce007d5976e14 /tools/perf/util/annotate.h
parentfb7d0b3cefb80a105f7fd26bbc62e0cbf9192822 (diff)
perf annotate: Fix build error
A small fix for when NO_NEWT_SUPPORT is defined. Add a missing "struct" to the function prototype. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <20110207143218.GA31197@kryptos.osrc.amd.com> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index b1253aadf340..bc08b36a713a 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,
82 int max_lines); 82 int max_lines);
83 83
84#ifdef NO_NEWT_SUPPORT 84#ifdef NO_NEWT_SUPPORT
85static inline int symbol__tui_annotate(symbol *sym __used, 85static inline int symbol__tui_annotate(struct symbol *sym __used,
86 struct map *map __used, int evidx __used) 86 struct map *map __used, int evidx __used)
87{ 87{
88 return 0; 88 return 0;