summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-12-09 14:06:55 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-12-09 14:06:55 +0000
commit2d4d2b1515ba88bba9992c0d18d1b3479dfb0053 (patch)
tree5aeb482025e3ebe4dc5ce499cbeb9a29b5af9787 /usr.bin
parentcfb99cfdf3e842c34732df0c8e9d710d87cd0f29 (diff)
extern int optind; from stevesk@sweden.hp.com
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh-agent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index eeab320a396..e6e697c9553 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.41 2000/11/30 18:33:05 markus Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.42 2000/12/09 14:06:54 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -37,7 +37,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-agent.c,v 1.41 2000/11/30 18:33:05 markus Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.42 2000/12/09 14:06:54 markus Exp $");
#include "ssh.h"
#include "rsa.h"
@@ -673,6 +673,7 @@ main(int ac, char **av)
struct rlimit rlim;
pid_t pid;
char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid];
+ extern int optind;
while ((ch = getopt(ac, av, "cks")) != -1) {
switch (ch) {