From 3c95f9ccdee03bbd5201ce0c06d795f6b132e266 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 4 Sep 2000 06:09:54 +0000 Subject: getopt and friends are declared in getopt returns -1 not EOF. --- usr.bin/last/last.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'usr.bin/last') diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 5efd9e8..a0c6f39 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -108,8 +108,6 @@ main(argc, argv) int argc; char *argv[]; { - extern int optind; - extern char *optarg; int ch; char *p; -- cgit v1.1