diff options
author | imp <imp@FreeBSD.org> | 2001-03-01 06:22:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-03-01 06:22:46 +0000 |
commit | f46c3747188f201a4ef26a8c627ae3c996af84be (patch) | |
tree | 9d147642dee31de028765f8a099be643234d5945 /usr.sbin/pcvt/kcon | |
parent | d9aa3d164d96efb68aa48555fe3f64d7b68b4c65 (diff) | |
download | FreeBSD-src-f46c3747188f201a4ef26a8c627ae3c996af84be.zip FreeBSD-src-f46c3747188f201a4ef26a8c627ae3c996af84be.tar.gz |
Include <unistd.h> for getopt's interface rather than declare things
individually here.
Diffstat (limited to 'usr.sbin/pcvt/kcon')
-rw-r--r-- | usr.sbin/pcvt/kcon/kcon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/pcvt/kcon/kcon.c b/usr.sbin/pcvt/kcon/kcon.c index 55e14fa..4318bf2 100644 --- a/usr.sbin/pcvt/kcon/kcon.c +++ b/usr.sbin/pcvt/kcon/kcon.c @@ -51,6 +51,7 @@ #include <stdio.h> #include <string.h> +#include <unistd.h> #include <sys/types.h> #include <sys/ioctl.h> #include <machine/pcvt_ioctl.h> @@ -75,9 +76,6 @@ main(argc, argv) int argc; char *argv[]; { - extern char *optarg; - extern int optind; - int c = 0; int errf = 0; |