summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 01:46:41 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 18:43:33 +0200
commita3b70b3bb34296a63b43614f13991111eccbb44a (patch)
tree2d01e0049090925158c0d73124caa8d98cb7ac2e /tools/perf/perf.c
parentperf tools: Remove string.h from util.h (diff)
downloadlinux-a3b70b3bb34296a63b43614f13991111eccbb44a.tar.xz
linux-a3b70b3bb34296a63b43614f13991111eccbb44a.zip
perf tools: Remove stale prototypes from builtin.h
Some, like prune_packed_objects() are clearly git specific, others don't have implementations and some are used in just one place, make them static. Link: http://lkml.kernel.org/n/tip-faj3c5dnttf3hurv4pujut8n@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.c')
-rw-r--r--tools/perf/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c
index 356588982d08..0b2cad0fb3f9 100644
--- a/tools/perf/perf.c
+++ b/tools/perf/perf.c
@@ -91,7 +91,7 @@ static int pager_command_config(const char *var, const char *value, void *data)
}
/* returns 0 for "no pager", 1 for "use pager", and -1 for "not specified" */
-int check_pager_config(const char *cmd)
+static int check_pager_config(const char *cmd)
{
int err;
struct pager_config c;