In message <[EMAIL PROTECTED]> on Wed, 05 Jun 2002 09:32:44 -0400, Rich Salz <[EMAIL PROTECTED]> said:
rsalz> > However, double declaration isn't an error, at least if the rsalz> > declarations are exactly the same. Until someone comes up with a rsalz> > better solution to break the circular dependency mentioned above, I rsalz> > don't see that this really needs to get fixed. I'll add the keyword rsalz> > "nice to have" to this ticket... rsalz> rsalz> This is typically done by making the declaration be like this; rsalz> #ifndef _DECLARED_FOO rsalz> extern struct foo *getafoo(); rsalz> #define _DECLARED_FOO rsalz> #endif Eeeep. I know that would only be required in pem.h, but since the section where ERR_load_PEM_strings() is declared is generated automagically, it ultimately means we need to have that construction in all headers. It's ugly... Oh well, I'll see what I can do. I think I'll use names like _OPENSSL_DECLARED_FOO... -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]