OSDN Git Service

perf tools: Make copyfile_offset() static
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Sep 2017 13:50:26 +0000 (10:50 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Sep 2017 12:49:16 +0000 (09:49 -0300)
commitc23c2a0f236601c635d9a9d18d7993641e72aa8c
tree914f529f989ac6ae336ef6bf62ef6216a6d8dab8
parent55421b4fb7054f85274b1b6a321e204dac696133
perf tools: Make copyfile_offset() static

There are no usage outside util.c and this is the only remaining reason
for fcntl.h to be included in util.h, to get the loff_t definition in
Alpine Linux, so make it static.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-2dzlsao7k6ihozs5karw6kpx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/builtin-test.c
tools/perf/util/data.c
tools/perf/util/dso.c
tools/perf/util/event.c
tools/perf/util/evlist.h
tools/perf/util/namespaces.c
tools/perf/util/pmu.c
tools/perf/util/probe-file.c
tools/perf/util/util.c
tools/perf/util/util.h
tools/perf/util/zlib.c