diff options
author | 2006-03-14 19:39:49 +0000 | |
---|---|---|
committer | 2006-03-14 19:39:49 +0000 | |
commit | 537ab1732f815b7eb47005e82805bed8381db5c2 (patch) | |
tree | d81dafaf62ec9b6d16eb3e9661ede28ccfecd9ae | |
parent | More use of const and fix a signed/unsigned comparison. (diff) | |
download | wireguard-openbsd-537ab1732f815b7eb47005e82805bed8381db5c2.tar.xz wireguard-openbsd-537ab1732f815b7eb47005e82805bed8381db5c2.zip |
No need to declare optind/optarg if unistd.h is included.
From David Hill. ok ray@
-rw-r--r-- | usr.bin/from/from.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/from/from.c b/usr.bin/from/from.c index 1abe3203c97..e4664407099 100644 --- a/usr.bin/from/from.c +++ b/usr.bin/from/from.c @@ -1,4 +1,4 @@ -/* $OpenBSD: from.c,v 1.11 2005/11/14 15:30:34 deraadt Exp $ */ +/* $OpenBSD: from.c,v 1.12 2006/03/14 19:39:49 moritz Exp $ */ /* $NetBSD: from.c,v 1.6 1995/09/01 01:39:10 jtc Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)from.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: from.c,v 1.11 2005/11/14 15:30:34 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: from.c,v 1.12 2006/03/14 19:39:49 moritz Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -58,8 +58,6 @@ int match(char *, char *); int main(int argc, char *argv[]) { - extern char *optarg; - extern int optind; struct passwd *pwd; int ch, newline; char *file, *sender, *p; |