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

Diff for /src/usr.bin/rdist/docmd.c between version 1.27 and 1.28

version 1.27, 2014/07/05 06:18:58 version 1.28, 2014/07/05 06:45:00
Line 29 
Line 29 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
   #include <sys/socket.h>
   #include <dirent.h>
   #include <netdb.h>
   
 #include "defs.h"  #include "defs.h"
 #include "y.tab.h"  #include "y.tab.h"
   
Line 36 
Line 40 
  * Functions for rdist that do command (cmd) related activities.   * Functions for rdist that do command (cmd) related activities.
  */   */
   
 #include <sys/socket.h>  
 #include <netdb.h>  
   
 struct subcmd          *subcmds;                /* list of sub-commands for  struct subcmd          *subcmds;                /* list of sub-commands for
                                                    current cmd */                                                     current cmd */
 struct namelist        *filelist;               /* list of source files */  struct namelist        *filelist;               /* list of source files */
Line 636 
Line 637 
 rcmptime(struct stat *st, struct subcmd *sbcmds, char **env)  rcmptime(struct stat *st, struct subcmd *sbcmds, char **env)
 {  {
         DIR *d;          DIR *d;
         DIRENTRY *dp;          struct dirent *dp;
         char *cp;          char *cp;
         char *optarget;          char *optarget;
         int len;          int len;

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28