aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 20:46:41 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 13:43:33 -0300
commita3b70b3bb34296a63b43614f13991111eccbb44a (patch)
tree2d01e0049090925158c0d73124caa8d98cb7ac2e /tools/perf/builtin.h
parentperf tools: Remove string.h from util.h (diff)
downloadlinux-dev-a3b70b3bb34296a63b43614f13991111eccbb44a.tar.xz
linux-dev-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/builtin.h')
-rw-r--r--tools/perf/builtin.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/builtin.h b/tools/perf/builtin.h
index 26669bf9129c..d4d19fe3d050 100644
--- a/tools/perf/builtin.h
+++ b/tools/perf/builtin.h
@@ -2,16 +2,12 @@
#define BUILTIN_H
#include "util/util.h"
-#include "util/strbuf.h"
extern const char perf_usage_string[];
extern const char perf_more_info_string[];
void list_common_cmds_help(void);
const char *help_unknown_cmd(const char *cmd);
-void prune_packed_objects(int);
-int read_line_with_nul(char *buf, int size, FILE *file);
-int check_pager_config(const char *cmd);
int cmd_annotate(int argc, const char **argv);
int cmd_bench(int argc, const char **argv);