From 03c53702fbf260d234570504062547ae641783f8 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 30 May 2003 04:00:26 +0000 Subject: [PATCH] * gpgkeys_hkp.c, gpgkeys_ldap.c: Include extern references for optarg and optind since there is no guarantee that any header file will include them. Standards? We don't need no stinkin' standards! --- keyserver/ChangeLog | 7 +++++++ keyserver/gpgkeys_hkp.c | 3 +++ keyserver/gpgkeys_ldap.c | 3 +++ 3 files changed, 13 insertions(+) diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 7f63135ee..74f949395 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,10 @@ +2003-05-29 David Shaw + + * gpgkeys_hkp.c, gpgkeys_ldap.c: Include extern references for + optarg and optind since there is no guarantee that any header file + will include them. Standards? We don't need no stinkin' + standards! + 2003-05-28 David Shaw * gpgkeys_hkp.c, gpgkeys_ldap.c: #include if it is diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index fc3943eaa..ab766b50e 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -33,6 +33,9 @@ #include "http.h" #include "keyserver.h" +extern char *optarg; +extern int optind; + #define GET 0 #define SEND 1 #define SEARCH 2 diff --git a/keyserver/gpgkeys_ldap.c b/keyserver/gpgkeys_ldap.c index aad578cfb..f0015ff53 100644 --- a/keyserver/gpgkeys_ldap.c +++ b/keyserver/gpgkeys_ldap.c @@ -38,6 +38,9 @@ #include "util.h" #endif +extern char *optarg; +extern int optind; + #define GET 0 #define SEND 1 #define SEARCH 2