In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
authorRichard Levitte <levitte@openssl.org>
Tue, 2 May 2000 12:35:04 +0000 (12:35 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 2 May 2000 12:35:04 +0000 (12:35 +0000)
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order.  Thusly fixed.

crypto/cryptlib.h

index e3d38524ae9cd6cac5cad817ed8923cabb428f56..5eff5d31412e53d3f6bea3f340cf3bed95e5b78b 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-#ifdef  __cplusplus
-extern "C" {
-#endif
-
 #include "openssl/e_os.h"
 
 #include <openssl/crypto.h>
@@ -74,6 +70,10 @@ extern "C" {
 #include <openssl/err.h>
 #include <openssl/opensslconf.h>
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #ifndef VMS
 #define X509_CERT_AREA         OPENSSLDIR
 #define X509_CERT_DIR          OPENSSLDIR "/certs"