diff options
Diffstat (limited to 'tools/perf/util/cache.h')
| -rw-r--r-- | tools/perf/util/cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h index cff18c617d13..ab1769426541 100644 --- a/tools/perf/util/cache.h +++ b/tools/perf/util/cache.h | |||
| @@ -39,7 +39,7 @@ static inline void setup_browser(bool fallback_to_pager) | |||
| 39 | if (fallback_to_pager) | 39 | if (fallback_to_pager) |
| 40 | setup_pager(); | 40 | setup_pager(); |
| 41 | } | 41 | } |
| 42 | static inline void exit_browser(bool wait_for_ok __used) {} | 42 | static inline void exit_browser(bool wait_for_ok __maybe_unused) {} |
| 43 | #else | 43 | #else |
| 44 | void setup_browser(bool fallback_to_pager); | 44 | void setup_browser(bool fallback_to_pager); |
| 45 | void exit_browser(bool wait_for_ok); | 45 | void exit_browser(bool wait_for_ok); |
| @@ -49,7 +49,7 @@ static inline int ui__init(void) | |||
| 49 | { | 49 | { |
| 50 | return -1; | 50 | return -1; |
| 51 | } | 51 | } |
| 52 | static inline void ui__exit(bool wait_for_ok __used) {} | 52 | static inline void ui__exit(bool wait_for_ok __maybe_unused) {} |
| 53 | #else | 53 | #else |
| 54 | int ui__init(void); | 54 | int ui__init(void); |
| 55 | void ui__exit(bool wait_for_ok); | 55 | void ui__exit(bool wait_for_ok); |
| @@ -60,7 +60,7 @@ static inline int perf_gtk__init(void) | |||
| 60 | { | 60 | { |
| 61 | return -1; | 61 | return -1; |
| 62 | } | 62 | } |
| 63 | static inline void perf_gtk__exit(bool wait_for_ok __used) {} | 63 | static inline void perf_gtk__exit(bool wait_for_ok __maybe_unused) {} |
| 64 | #else | 64 | #else |
| 65 | int perf_gtk__init(void); | 65 | int perf_gtk__init(void); |
| 66 | void perf_gtk__exit(bool wait_for_ok); | 66 | void perf_gtk__exit(bool wait_for_ok); |
