diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-26 18:45:09 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-02 04:50:40 +0300 |
commit | af0de0c5f060b1d4eae6033043eb9eafd15aa738 (patch) | |
tree | 4e80b9e526e03335f0f0b6256d35261531c1b61e /tools/perf/util/string2.h | |
parent | 2a60689a33a61f000bd90596b1289babcb861cd9 (diff) | |
download | linux-af0de0c5f060b1d4eae6033043eb9eafd15aa738.tar.xz |
perf tools: Drop strxfrchar(), use strreplace() equivalent from kernel
No change in behaviour intended, just reducing the codebase and using
something available in tools/lib/.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-oyi6zif3810nwi4uu85odnhv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/string2.h')
-rw-r--r-- | tools/perf/util/string2.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/string2.h b/tools/perf/util/string2.h index 6da835ad8f5b..2696c3fcd780 100644 --- a/tools/perf/util/string2.h +++ b/tools/perf/util/string2.h @@ -21,7 +21,6 @@ static inline bool strisglob(const char *str) return strpbrk(str, "*?[") != NULL; } int strtailcmp(const char *s1, const char *s2); -char *strxfrchar(char *s, char from, char to); char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints); |