perf tools: Remove string.h, unistd.h and sys/stat.h from util.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 23:57:47 +0000 (20:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Apr 2017 16:43:33 +0000 (13:43 -0300)
commit7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74
tree84e400a1a819a9ff044fe4ca8eb196ab35cb490b
parenta3b70b3bb34296a63b43614f13991111eccbb44a
perf tools: Remove string.h, unistd.h and sys/stat.h from util.h

Not needed in this header, added to the places that need FILE,
putchar(), access() and a few other prototypes.

Link: http://lkml.kernel.org/n/tip-xxtdsl6nsna82j7puwbdjqhs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
25 files changed:
tools/lib/subcmd/help.h
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/arm64/util/dwarf-regs.c
tools/perf/builtin-help.c
tools/perf/builtin-mem.c
tools/perf/builtin-report.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-version.c
tools/perf/perf.c
tools/perf/tests/attr.c
tools/perf/tests/bpf.c
tools/perf/tests/parse-events.c
tools/perf/util/build-id.c
tools/perf/util/color.h
tools/perf/util/config.c
tools/perf/util/dso.c
tools/perf/util/event.c
tools/perf/util/header.c
tools/perf/util/machine.c
tools/perf/util/pmu.c
tools/perf/util/probe-file.c
tools/perf/util/strlist.c
tools/perf/util/util.c
tools/perf/util/util.h