diff options
Diffstat (limited to 'tools/perf/ui/helpline.h')
-rw-r--r-- | tools/perf/ui/helpline.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/ui/helpline.h b/tools/perf/ui/helpline.h index a2487f93aa48..2b667ee454c3 100644 --- a/tools/perf/ui/helpline.h +++ b/tools/perf/ui/helpline.h | |||
@@ -24,8 +24,8 @@ void ui_helpline__puts(const char *msg); | |||
24 | extern char ui_helpline__current[512]; | 24 | extern char ui_helpline__current[512]; |
25 | 25 | ||
26 | #ifdef NO_NEWT_SUPPORT | 26 | #ifdef NO_NEWT_SUPPORT |
27 | static inline int ui_helpline__show_help(const char *format __used, | 27 | static inline int ui_helpline__show_help(const char *format __maybe_unused, |
28 | va_list ap __used) | 28 | va_list ap __maybe_unused) |
29 | { | 29 | { |
30 | return 0; | 30 | return 0; |
31 | } | 31 | } |
@@ -35,8 +35,8 @@ int ui_helpline__show_help(const char *format, va_list ap); | |||
35 | #endif /* NO_NEWT_SUPPORT */ | 35 | #endif /* NO_NEWT_SUPPORT */ |
36 | 36 | ||
37 | #ifdef NO_GTK2_SUPPORT | 37 | #ifdef NO_GTK2_SUPPORT |
38 | static inline int perf_gtk__show_helpline(const char *format __used, | 38 | static inline int perf_gtk__show_helpline(const char *format __maybe_unused, |
39 | va_list ap __used) | 39 | va_list ap __maybe_unused) |
40 | { | 40 | { |
41 | return 0; | 41 | return 0; |
42 | } | 42 | } |