removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace

This commit is contained in:
"Vladimir N. Oleynik" 2006-01-30 13:58:34 +00:00
parent 59c4e5cf92
commit 51bfa54e46

View File

@ -395,7 +395,7 @@ static void display_status(int count, int col)
s->pid, s->user, s->state, rss_str_buf, s->ppid,
pmem/10, pmem%10);
#endif
if(strlen(namecmd) > col)
if((int)strlen(namecmd) > col)
namecmd[col] = 0;
printf("%s\n", namecmd);
s++;
@ -428,7 +428,7 @@ static void reset_term(void)
#endif /* CONFIG_FEATURE_CLEAN_UP */
}
static void sig_catcher (int sig)
static void sig_catcher (int sig ATTRIBUTE_UNUSED)
{
reset_term();
}