aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2013-01-14 12:48:01 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 14:40:34 -0500
commit2c803e5248d038988ec7c52e8fd7c83130dd3c13 (patch)
tree7be870a45610585b34258b6a5da0551f5613e301 /tools/perf/util/util.h
parentb7c14a0b6a4e3add92e1527a31cb1826f4799248 (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/util/util.h')
-rw-r--r--tools/perf/util/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index c2330918110c..ec5de5e3330c 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -271,4 +271,7 @@ void dump_stack(void);
271 271
272extern unsigned int page_size; 272extern unsigned int page_size;
273 273
274struct winsize;
275void get_term_dimensions(struct winsize *ws);
276
274#endif 277#endif