projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2412fa
)
perf parse-events: Fix an old style declaration
author
Ian Rogers
<irogers@google.com>
Tue, 9 Jun 2020 05:36:10 +0000
(22:36 -0700)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Tue, 9 Jun 2020 15:40:04 +0000
(12:40 -0300)
Fixes: a26e47162d76 (perf tools: Move ALLOC_LIST into a function)
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link:
http://lore.kernel.org/lkml/20200609053610.206588-2-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.y
patch
|
blob
|
history
diff --git
a/tools/perf/util/parse-events.y
b/tools/perf/util/parse-events.y
index d4e076c9c2ab6d864d966baa537c8e1c14a47a76..acef87d9af588de9b0d4b4a918026dbaf42682b6 100644
(file)
--- 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;