lkml.org 
[lkml]   [2020]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] perf parse-events: fix an old style declaration
    Em Mon, Jun 08, 2020 at 10:36:10PM -0700, Ian Rogers escreveu:
    > Fixes: a26e47162d76 (perf tools: Move ALLOC_LIST into a function)
    > Signed-off-by: Ian Rogers <irogers@google.com>
    > ---
    > tools/perf/util/parse-events.y | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > 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;

    Thanks, applied.

    - Arnaldo

    \
     
     \ /
      Last update: 2020-06-09 17:38    [W:4.227 / U:0.884 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site