summaryrefslogtreecommitdiff
path: root/bin/rmail
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-22 20:25:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-01-22 20:25:09 +0000
commit43f555732483fd1b60a70968b71d3a01ef7d446a (patch)
tree9ac7c483eb8edd88cdb16e5f49b4c235f85c0eba /bin/rmail
parenta9e755d6a11ddb61c8eb50d4307c9611f1951a53 (diff)
remove extra externs not needed because of unistd.h (rest of tree will be done later.. contact me if you want to help)
Diffstat (limited to 'bin/rmail')
-rw-r--r--bin/rmail/rmail.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/rmail/rmail.c b/bin/rmail/rmail.c
index 40752724312..496f015256f 100644
--- a/bin/rmail/rmail.c
+++ b/bin/rmail/rmail.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmail.c,v 1.9 1998/04/30 05:55:06 deraadt Exp $ */
+/* $OpenBSD: rmail.c,v 1.10 2000/01/22 20:24:53 deraadt Exp $ */
/* $NetBSD: rmail.c,v 1.8 1995/09/07 06:51:50 jtc Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95";
#else
-static char rcsid[] = "$OpenBSD: rmail.c,v 1.9 1998/04/30 05:55:06 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: rmail.c,v 1.10 2000/01/22 20:24:53 deraadt Exp $";
#endif
#endif /* not lint */
@@ -81,6 +81,7 @@ static char rcsid[] = "$OpenBSD: rmail.c,v 1.9 1998/04/30 05:55:06 deraadt Exp $
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
+#include <errno.h>
#ifndef MAX
# define MAX(a, b) ((a) < (b) ? (b) : (a))
@@ -96,8 +97,6 @@ main(argc, argv)
int argc;
char *argv[];
{
- extern char *optarg;
- extern int errno, optind;
FILE *fp;
struct stat sb;
size_t fplen, fptlen, len;