aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-02-15 10:09:11 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-02-15 11:20:49 -0300
commit34a0548f01626b01c9e98d9627812c3c9f6b6f7d (patch)
tree7a0909ee1d9551640aa0427cdad610d8d1dacd4f /scripts/gdb/linux/proc.py
parentb30a7d1fc96d60fe2c02e375a56a046385701d17 (diff)
perf tools: Add missing parse_events_error() prototype
As pointed out by clang, we were not providing a prototype for a function before using it: util/parse-events.y:699:6: error: conflicting types for 'parse_events_error' void parse_events_error(YYLTYPE *loc, void *data, ^ /tmp/build/perf/util/parse-events-bison.c:2224:7: note: previous implicit declaration is here yyerror (&yylloc, _data, scanner, YY_("syntax error")); ^ /tmp/build/perf/util/parse-events-bison.c:65:25: note: expanded from macro 'yyerror' #define yyerror parse_events_error 1 error generated. One line fix it. Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions