[BACK]Return to proc_compare.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / w

Diff for /src/usr.bin/w/proc_compare.c between version 1.7 and 1.8

version 1.7, 2003/11/26 00:31:27 version 1.8, 2004/01/08 18:14:51
Line 39 
Line 39 
   
 #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"
   
Line 69 
Line 69 
 #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);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8