[PATCH] perf: 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 --- tools/perf/builtin-top.c | 22 -- tools/perf/perf.h|4 tools/perf/util/util.c | 22 ++ tools/perf/util
[PATCH] perf: 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. --- tools/perf/builtin-top.c | 22 -- tools/perf/perf.h|4 tools/perf/util/util.c | 22 ++ tools/perf/util/util.h |3 +++ 4 files