removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace
This commit is contained in:
parent
59c4e5cf92
commit
51bfa54e46
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user