commit | 4f8e66929b592825856df3625f5de7922f826020 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Sat Jul 14 13:22:53 2001 +1000 |
committer | Damien Miller <djm@mindrot.org> | Sat Jul 14 13:22:53 2001 +1000 |
tree | a2aa5cbf687af528463900a8852b02386e12729e | |
parent | 8f6bc30a4b23fb07ca3aca01a745f070a2129760 [diff] [blame] |
- (djm) Pull in getopt(3) from OpenBSD libc for the optreset extension.
diff --git a/ssh.c b/ssh.c index 98854d2..374630f 100644 --- a/ssh.c +++ b/ssh.c
@@ -259,6 +259,10 @@ struct passwd *pw; int dummy; uid_t original_effective_uid; + extern int optopt; + extern int optind; + extern int optreset; + extern char *optarg; __progname = get_progname(av[0]); init_rng();