top: Protect macro parameters.
This commit is contained in:
parent
d5b8ac7139
commit
713381b10d
@ -5920,8 +5920,8 @@ static int window_show (WIN_t *q, int wmax) {
|
||||
/* the isBUSY macro determines if a task is 'active' --
|
||||
it returns true if some cpu was used since the last sample.
|
||||
( actual 'running' tasks will be a subset of those selected ) */
|
||||
#define isBUSY(x) (0 < x->pcpu)
|
||||
#define winMIN(a,b) ((a < b) ? a : b)
|
||||
#define isBUSY(x) (0 < (x)->pcpu)
|
||||
#define winMIN(a,b) (((a) < (b)) ? (a) : (b))
|
||||
int i, lwin;
|
||||
|
||||
// Display Column Headings -- and distract 'em while we sort (maybe)
|
||||
|
Loading…
Reference in New Issue
Block a user