summaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-10-19 16:07:28 +0200
committerDenys Vlasenko2009-10-19 16:07:28 +0200
commit36df04837ad54a4eb559e5c69a81aeeb4d981a72 (patch)
tree3685f248b18cbab68ad7a8dd5625932a2adab361 /procps/top.c
parent3b3ccdc5bc530e824a55ebc8d57c34f0ca6a30c9 (diff)
downloadbusybox-36df04837ad54a4eb559e5c69a81aeeb4d981a72.zip
busybox-36df04837ad54a4eb559e5c69a81aeeb4d981a72.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 9e8ad1d..252f6f7 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -513,8 +513,8 @@ static NOINLINE void display_process_list(int lines_rem, int scr_width)
/* xxx_shift and xxx_scale variables allow us to replace
* expensive divides with multiply and shift */
unsigned pmem_shift, pmem_scale, pmem_half;
- unsigned tmp_unsigned;
#if ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE
+ unsigned tmp_unsigned;
unsigned pcpu_shift, pcpu_scale, pcpu_half;
unsigned busy_jifs;
#endif