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

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

version 1.20, 2015/01/16 06:40:13 version 1.21, 2016/02/01 07:29:25
Line 30 
Line 30 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
 #include "talk.h"  #include <sys/socket.h>
   
   #include <err.h>
   #include <limits.h>
 #include <pwd.h>  #include <pwd.h>
 #include <stdlib.h>  #include <stdlib.h>
   #include <string.h>
 #include <unistd.h>  #include <unistd.h>
 #include <limits.h>  
   
   #include "talk.h"
   
 extern  CTL_MSG msg;  extern  CTL_MSG msg;
   
 /*  /*
Line 66 
Line 71 
         }          }
   
         if ((argc < 2 ) || ('@' == argv[1][0])) {          if ((argc < 2 ) || ('@' == argv[1][0])) {
                 fprintf(stderr, "usage: talk [-Hs] person [ttyname]\n");                  extern char *__progname;
                   fprintf(stderr, "usage: %s [-Hs] person [ttyname]\n", __progname);
                 exit(1);                  exit(1);
         }          }
         if (!isatty(STDIN_FILENO))          if (!isatty(STDIN_FILENO))

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