perf stat: Fix shadow declaration of close
authorJiri Olsa <jolsa@redhat.com>
Wed, 8 Jul 2015 11:17:31 +0000 (13:17 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Jul 2015 13:04:58 +0000 (10:04 -0300)
commit5fc472a628edb8ad83016a063329e8b589a04060
tree31123d431d3bdf912d4b717db2ec8e546d53fdd9
parent6d545a632fbbce79492ba535b15ea0142aa3e80d
perf stat: Fix shadow declaration of close

Vinson reported shadow declaration of close introduced
by the following commit:

  106a94a0f8c2 perf stat: Introduce read_counters function

Using close_counters name instead.

Reported-by: Vinson Lee <vlee@twopensource.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: 106a94a0f8c2 ("perf stat: Introduce read_counters function")
Link: http://lkml.kernel.org/r/20150708111731.GA3512@krava.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c