diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-06-07 23:23:31 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-06-19 18:06:19 +0200 |
commit | cb1a28a0cbf9dac5a7a0ca02ebebc12db260d2f8 (patch) | |
tree | 34f860150b33d87d2da3393ef917bd156fda612d /tools/perf/util/util.h | |
parent | perf ui/gtk: Use struct perf_error_ops (diff) | |
download | linux-cb1a28a0cbf9dac5a7a0ca02ebebc12db260d2f8.tar.xz linux-cb1a28a0cbf9dac5a7a0ca02ebebc12db260d2f8.zip |
perf lib: Introduce rtrim
Remove the trailing whitespaces.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-8bxozh5lyixgjmziqaxo9675@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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 2daaedb83d84..b13c7331eaf8 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -264,4 +264,6 @@ bool is_power_of_2(unsigned long n) size_t hex_width(u64 v); +char *rtrim(char *s); + #endif |