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

Diff for /src/usr.bin/last/last.c between version 1.44 and 1.45

version 1.44, 2014/12/09 15:40:23 version 1.45, 2015/01/16 06:40:09
Line 30 
Line 30 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
 #include <sys/param.h>  
 #include <sys/stat.h>  #include <sys/stat.h>
   
 #include <ctype.h>  #include <ctype.h>
Line 45 
Line 44 
 #include <time.h>  #include <time.h>
 #include <tzfile.h>  #include <tzfile.h>
 #include <unistd.h>  #include <unistd.h>
   #include <limits.h>
 #include <utmp.h>  #include <utmp.h>
   
 #define NO      0                               /* false/no */  #define NO      0                               /* false/no */
Line 494 
Line 494 
 void  void
 hostconv(char *arg)  hostconv(char *arg)
 {  {
         static char *hostdot, name[MAXHOSTNAMELEN];          static char *hostdot, name[HOST_NAME_MAX+1];
         static int first = 1;          static int first = 1;
         char *argdot;          char *argdot;
   

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45