summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-12-09 14:06:54 +0000
committermarkus <markus@openbsd.org>2000-12-09 14:06:54 +0000
commitd959bc478fd66ff213deb07011bda9226da56a0d (patch)
treec357d266d98e41c83aaa1763de4eb144c5d0a95e /usr.bin/ssh/ssh-agent.c
parentfix byte order bug w/o introducing new implementation (diff)
downloadwireguard-openbsd-d959bc478fd66ff213deb07011bda9226da56a0d.tar.xz
wireguard-openbsd-d959bc478fd66ff213deb07011bda9226da56a0d.zip
extern int optind; from stevesk@sweden.hp.com
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-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) {