diff options
author | Ian Rogers <[email protected]> | 2020-06-08 22:36:10 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-09 12:40:04 -0300 |
commit | ffaecd7d1f88a955f0b321749de8c0158f973afd (patch) | |
tree | 01ee330cb096f236ad0fd4fccf7ddc54510602de | |
parent | c2412fae3f01725615b0de472095a9e16ed30ca9 (diff) |
perf parse-events: Fix an old style declaration
Fixes: a26e47162d76 (perf tools: Move ALLOC_LIST into a function)
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/util/parse-events.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y index d4e076c9c2ab..acef87d9af58 100644 --- a/tools/perf/util/parse-events.y +++ b/tools/perf/util/parse-events.y @@ -26,7 +26,7 @@ do { \ YYABORT; \ } while (0) -static struct list_head* alloc_list() +static struct list_head* alloc_list(void) { struct list_head *list; |