Fix whitespace.

MFC after:	1 week
This commit is contained in:
Ed Schouten 2012-11-17 16:47:05 +00:00
parent 6d36c821ad
commit dbd1414ddc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243183
2 changed files with 6 additions and 7 deletions

View File

@ -30,7 +30,6 @@
* $FreeBSD$ * $FreeBSD$
*/ */
extern int use_ampm; extern int use_ampm;
struct kinfo_proc; struct kinfo_proc;

View File

@ -62,11 +62,11 @@ __FBSDID("$FreeBSD$");
* TODO - consider whether pctcpu should be used. * TODO - consider whether pctcpu should be used.
*/ */
#define ISRUN(p) (((p)->ki_stat == SRUN) || ((p)->ki_stat == SIDL)) #define ISRUN(p) (((p)->ki_stat == SRUN) || ((p)->ki_stat == SIDL))
#define TESTAB(a, b) ((a)<<1 | (b)) #define TESTAB(a, b) ((a)<<1 | (b))
#define ONLYA 2 #define ONLYA 2
#define ONLYB 1 #define ONLYB 1
#define BOTH 3 #define BOTH 3
int int
proc_compare(struct kinfo_proc *p1, struct kinfo_proc *p2) proc_compare(struct kinfo_proc *p1, struct kinfo_proc *p2)
@ -93,7 +93,7 @@ proc_compare(struct kinfo_proc *p1, struct kinfo_proc *p2)
return (p2->ki_pid > p1->ki_pid); /* tie - return highest pid */ return (p2->ki_pid > p1->ki_pid); /* tie - return highest pid */
} }
/* /*
* weed out zombies * weed out zombies
*/ */
switch (TESTAB(p1->ki_stat == SZOMB, p2->ki_stat == SZOMB)) { switch (TESTAB(p1->ki_stat == SZOMB, p2->ki_stat == SZOMB)) {
case ONLYA: case ONLYA: