diff options
| author | jtc <jtc@NetBSD.org> | 1993-10-13 18:33:45 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1993-10-13 18:33:45 +0000 |
| commit | 2ddbb97f0fc5e9c768223d73a539f6402ba2485e (patch) | |
| tree | 06bd40980b589821024ec345f86d89235c11e9dc /usr.bin/uuencode | |
| parent | 1b75821c58bc904a67a013b6310fc972bddf2c7f (diff) | |
#include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
Diffstat (limited to 'usr.bin/uuencode')
| -rw-r--r-- | usr.bin/uuencode/uuencode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/uuencode/uuencode.c b/usr.bin/uuencode/uuencode.c index e0a3eedf083..77096a05d77 100644 --- a/usr.bin/uuencode/uuencode.c +++ b/usr.bin/uuencode/uuencode.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)uuencode.c 5.9 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id: uuencode.c,v 1.3 1993/08/27 22:30:57 jtc Exp $"; +static char rcsid[] = "$Id: uuencode.c,v 1.4 1993/10/13 18:34:49 jtc Exp $"; #endif /* not lint */ /* @@ -41,12 +41,13 @@ static char rcsid[] = "$Id: uuencode.c,v 1.3 1993/08/27 22:30:57 jtc Exp $"; * * Encode a file so it can be mailed to a remote system. */ -#include <sys/types.h> -#include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <unistd.h> static void encode(); static void usage(); |
