From 883844dc078ecd09f9b186059fca0e0ee836be06 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sun, 23 Jun 2002 00:20:50 +0000 Subject: - (bal) add extern char *getopt. Based on report by dtucker@zip.com.au --- ChangeLog | 3 ++- ssh-agent.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f6b03bcc1..a66fa6a47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20020623 - (stevesk) [configure.ac] bug #255 LOGIN_NEEDS_UTMPX for AIX. - (bal) removed GNUism for getops in ssh-agent since glibc lacks optreset. + - (bal) add extern char *getopt. Based on report by dtucker@zip.com.au 20020622 - (djm) Update README.privsep; spotted by fries@ @@ -1010,4 +1011,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2243 2002/06/23 00:18:15 mouring Exp $ +$Id: ChangeLog,v 1.2244 2002/06/23 00:20:50 mouring Exp $ diff --git a/ssh-agent.c b/ssh-agent.c index 72adf686c..92ce16a9f 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -939,6 +939,7 @@ main(int ac, char **av) char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid]; char *agentsocket = NULL; extern int optind; + extern char *optarg; fd_set *readsetp = NULL, *writesetp = NULL; SSLeay_add_all_algorithms(); -- cgit v1.2.3