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/demo | |
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/demo')
-rw-r--r-- | usr.sbin/pcvt/demo/playvt.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/pcvt/demo/playvt.c b/usr.sbin/pcvt/demo/playvt.c index b34d798..17eeca9 100644 --- a/usr.sbin/pcvt/demo/playvt.c +++ b/usr.sbin/pcvt/demo/playvt.c @@ -30,8 +30,14 @@ * */ +#ifndef lint +#if 0 static char *id = "@(#)playvt.c, 1.00, Last Edit-Date: [Sun Jan 1 18:32:22 1995]"; +#endif +static const char rcsid[] = + "$FreeBSD$"; +#endif /* not lint */ /*---------------------------------------------------------------------------* * @@ -48,10 +54,6 @@ main(argc,argv) int argc; char *argv[]; { - extern int optind; - extern int opterr; - extern char *optarg; - int c; FILE *fp = stdin; volatile int i; |