summaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-18 22:28:26 +0000
committerDenis Vlasenko2008-05-18 22:28:26 +0000
commit5599502a550a7f892d4b73dceb2105a6916f83e6 (patch)
tree572ffa27892b1b24db86930044077dbb1565840f /procps/top.c
parente125a683a77d14401644d15f38b7f578db723924 (diff)
downloadbusybox-5599502a550a7f892d4b73dceb2105a6916f83e6.zip
busybox-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.gz
more -Wall warning fixes. -Wall is enabled now.
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/procps/top.c b/procps/top.c
index ca43376..ed74879 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -742,9 +742,10 @@ enum {
int top_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int top_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
- int count, lines, col;
- unsigned interval;
+ int count;
int iterations;
+ unsigned lines, col;
+ unsigned interval;
char *sinterval;
SKIP_FEATURE_TOPMEM(const) unsigned scan_mask = TOP_MASK;
#if ENABLE_FEATURE_USE_TERMIOS