break out special local mail processing (e.g., mapping to the
[unix-history] / usr / src / bin / cp / extern.h
index 5395e1d..4080dbb 100644 (file)
@@ -1,10 +1,10 @@
 /*-
 /*-
- * Copyright (c) 1991 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1991, 1993, 1994
+ *     The Regents of the University of California.  All rights reserved.
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)extern.h    5.4 (Berkeley) %G%
+ *     @(#)extern.h    8.2 (Berkeley) %G%
  */
 
 typedef struct {
  */
 
 typedef struct {
@@ -13,22 +13,17 @@ typedef struct {
        char p_path[MAXPATHLEN + 1];    /* pointer to the start of a path */
 } PATH_T;
 
        char p_path[MAXPATHLEN + 1];    /* pointer to the start of a path */
 } PATH_T;
 
-extern char *progname;                 /* program name */
 extern PATH_T to;
 extern PATH_T to;
-extern int iflag, pflag;
 extern uid_t myuid;
 extern uid_t myuid;
-extern int exit_val, myumask;
+extern int iflag, pflag, myumask;
 
 #include <sys/cdefs.h>
 
 __BEGIN_DECLS
 
 #include <sys/cdefs.h>
 
 __BEGIN_DECLS
-void    err __P((const char *fmt, ...));
-
-void copy_fifo __P((struct stat *, int));
-void copy_file __P((FTSENT *, int));
-void copy_link __P((FTSENT *, int));
-void copy_special __P((struct stat *, int));
-void setfile __P((struct stat *, int));
-void usage __P((void));
-
+int    copy_fifo __P((struct stat *, int));
+int    copy_file __P((FTSENT *, int));
+int    copy_link __P((FTSENT *, int));
+int    copy_special __P((struct stat *, int));
+int    setfile __P((struct stat *, int));
+void   usage __P((void));
 __END_DECLS
 __END_DECLS