Return to proc_compare.c CVS log | Up to [local] / src / usr.bin / w |
version 1.7, 2003/11/26 00:31:27 | version 1.8, 2004/01/08 18:14:51 | ||
---|---|---|---|
|
|
||
#include <sys/param.h> | #include <sys/param.h> | ||
#include <sys/time.h> | #include <sys/time.h> | ||
#include <sys/proc.h> | #include <sys/sysctl.h> | ||
#include "extern.h" | #include "extern.h" | ||
|
|
||
#define BOTH 3 | #define BOTH 3 | ||
int | int | ||
proc_compare(struct proc *p1, struct proc *p2) | proc_compare(const struct kinfo_proc2 *p1, const struct kinfo_proc2 *p2) | ||
{ | { | ||
if (p1 == NULL) | if (p1 == NULL) | ||
return (1); | return (1); |