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

Diff for /src/usr.bin/lastcomm/lastcomm.c between version 1.20 and 1.21

version 1.20, 2015/01/16 06:40:09 version 1.21, 2015/03/15 00:41:28
Line 42 
Line 42 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <struct.h>  #include <struct.h>
 #include <tzfile.h>  
 #include <unistd.h>  #include <unistd.h>
 #include <utmp.h>  #include <utmp.h>
 #include <pwd.h>  #include <pwd.h>
Line 53 
Line 52 
 char    *getdev(dev_t);  char    *getdev(dev_t);
 int      requested(char *[], struct acct *);  int      requested(char *[], struct acct *);
 void     usage(void);  void     usage(void);
   
   #define SECSPERMIN      (60)
   #define SECSPERHOUR     (60 * 60)
   
 int  int
 main(int argc, char *argv[])  main(int argc, char *argv[])

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21