diff options
author | David Ahern <dsahern@gmail.com> | 2013-01-14 12:48:01 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-01-24 14:40:34 -0500 |
commit | 2c803e5248d038988ec7c52e8fd7c83130dd3c13 (patch) | |
tree | 7be870a45610585b34258b6a5da0551f5613e301 /tools/perf/perf.h | |
parent | b7c14a0b6a4e3add92e1527a31cb1826f4799248 (diff) |
perf tools: Move get_term_dimensions from top to util.c
It is used by util/help.c so it should be a lib function and included in
libperf.a. Code move only.
Signed-off-by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1358185681-90926-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 7622f15bcfb7..8f3bf388e414 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h | |||
@@ -1,10 +1,6 @@ | |||
1 | #ifndef _PERF_PERF_H | 1 | #ifndef _PERF_PERF_H |
2 | #define _PERF_PERF_H | 2 | #define _PERF_PERF_H |
3 | 3 | ||
4 | struct winsize; | ||
5 | |||
6 | void get_term_dimensions(struct winsize *ws); | ||
7 | |||
8 | #include <asm/unistd.h> | 4 | #include <asm/unistd.h> |
9 | 5 | ||
10 | #if defined(__i386__) | 6 | #if defined(__i386__) |