summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 15:25:02 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-23 15:27:33 -0300
commitcf47a8aede9febee21cbd21d40a9c47244773a6c (patch)
tree954ece73f022c29ef84e08d39cf10a275c8b3a39 /tools/perf/util/util.h
parent531d2410635ce290bee215f4bf9ec8ca98cf7302 (diff)
downloadlinux-cf47a8aede9febee21cbd21d40a9c47244773a6c.tar.bz2
perf tools: Remove unused perf_pathdup, xstrdup functions
Cc: Adrian Hunter <adrian.hunter@intel.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-s87zi5d03m6rz622y1z6rlsa@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r--tools/perf/util/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index 835b8ceca041..8298d607c738 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -162,7 +162,6 @@ static inline char *gitstrchrnul(const char *s, int c)
/*
* Wrappers:
*/
-char *xstrdup(const char *str);
void *xrealloc(void *ptr, size_t size) __attribute__((weak));