new copyright notice
[unix-history] / usr / src / usr.bin / rdist / defs.h
index d85f1ae..4bbbfeb 100644 (file)
@@ -2,34 +2,29 @@
  * Copyright (c) 1983 Regents of the University of California.
  * All rights reserved.
  *
  * Copyright (c) 1983 Regents of the University of California.
  * All rights reserved.
  *
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and that due credit is given
- * to the University of California at Berkeley. The name of the University
- * may not be used to endorse or promote products derived from this
- * software without specific prior written permission. This software
- * is provided ``as is'' without express or implied warranty.
+ * %sccs.include.redist.c%
  *
  *
- *     @(#)defs.h      5.3 (Berkeley) %G%
+ *     @(#)defs.h      5.8 (Berkeley) %G%
  */
 
  */
 
-#include <stdio.h>
-#include <ctype.h>
-#include <errno.h>
-#include <pwd.h>
-#include <grp.h>
 #include <sys/param.h>
 #include <sys/dir.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/param.h>
 #include <sys/dir.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <sys/file.h>
 #include <netinet/in.h>
 #include <netinet/in.h>
+#include <stdio.h>
+#include <ctype.h>
+#include <errno.h>
+#include <pwd.h>
+#include <grp.h>
+#include "pathnames.h"
 
 /*
  * The version number should be changed whenever the protocol changes.
  */
 #define VERSION         3
 
 
 /*
  * The version number should be changed whenever the protocol changes.
  */
 #define VERSION         3
 
-#define        MAILCMD  "/usr/lib/sendmail -oi -t"
-
        /* defines for yacc */
 #define EQUAL  1
 #define LP     2
        /* defines for yacc */
 #define EQUAL  1
 #define LP     2
@@ -125,7 +120,6 @@ extern struct group *gr;    /* pointer to static area used by getgrent */
 extern char host[];            /* host name of master copy */
 extern char buf[];             /* general purpose buffer */
 extern int errno;              /* system error number */
 extern char host[];            /* host name of master copy */
 extern char buf[];             /* general purpose buffer */
 extern int errno;              /* system error number */
-extern char *sys_errlist[];
 
 char *makestr();
 struct namelist *makenl();
 
 char *makestr();
 struct namelist *makenl();