From f46c3747188f201a4ef26a8c627ae3c996af84be Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 1 Mar 2001 06:22:46 +0000 Subject: Include for getopt's interface rather than declare things individually here. --- usr.sbin/pcvt/ispcvt/ispcvt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr.sbin/pcvt/ispcvt') diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.c b/usr.sbin/pcvt/ispcvt/ispcvt.c index d760337..40979ca 100644 --- a/usr.sbin/pcvt/ispcvt/ispcvt.c +++ b/usr.sbin/pcvt/ispcvt/ispcvt.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #define DEFAULTFD 0 @@ -47,10 +48,6 @@ main(argc,argv) int argc; char *argv[]; { - extern int optind; - extern int opterr; - extern char *optarg; - struct pcvtid pcvtid; struct pcvtinfo pcvtinfo; int c; -- cgit v1.1