diff options
author | jsing <> | 2014-05-24 07:26:05 +0000 |
---|---|---|
committer | jsing <> | 2014-05-24 07:26:05 +0000 |
commit | ce3ee9f6ea8937b30c7cfc80a18da648c9ba5ac4 (patch) | |
tree | 4ecb26c1ba7ae6ed6bd08328bed7aa7c1c432446 /src | |
parent | 8191b59226407582d4ddeb17f4a82a5fda5f7caf (diff) | |
download | openbsd-ce3ee9f6ea8937b30c7cfc80a18da648c9ba5ac4.tar.gz openbsd-ce3ee9f6ea8937b30c7cfc80a18da648c9ba5ac4.tar.bz2 openbsd-ce3ee9f6ea8937b30c7cfc80a18da648c9ba5ac4.zip |
Expand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around,
since they are hiding in the #define forest.
ok miod@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/asn1t.h | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/asn1.h | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/asn1t.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index f92816b6c3..e7264ccb09 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h | |||
@@ -398,7 +398,7 @@ typedef const ASN1_ITEM ASN1_ITEM_EXP; | |||
398 | #define ASN1_ITEM_rptr(ref) (&(ref##_it)) | 398 | #define ASN1_ITEM_rptr(ref) (&(ref##_it)) |
399 | 399 | ||
400 | #define DECLARE_ASN1_ITEM(name) \ | 400 | #define DECLARE_ASN1_ITEM(name) \ |
401 | OPENSSL_EXTERN const ASN1_ITEM name##_it; | 401 | extern const ASN1_ITEM name##_it; |
402 | 402 | ||
403 | #else | 403 | #else |
404 | 404 | ||
diff --git a/src/lib/libcrypto/asn1/asn1t.h b/src/lib/libcrypto/asn1/asn1t.h index fcb3c5cf9a..21d41bc11e 100644 --- a/src/lib/libcrypto/asn1/asn1t.h +++ b/src/lib/libcrypto/asn1/asn1t.h | |||
@@ -78,7 +78,7 @@ extern "C" { | |||
78 | /* Macros for start and end of ASN1_ITEM definition */ | 78 | /* Macros for start and end of ASN1_ITEM definition */ |
79 | 79 | ||
80 | #define ASN1_ITEM_start(itname) \ | 80 | #define ASN1_ITEM_start(itname) \ |
81 | OPENSSL_GLOBAL const ASN1_ITEM itname##_it = { | 81 | const ASN1_ITEM itname##_it = { |
82 | 82 | ||
83 | #define ASN1_ITEM_end(itname) \ | 83 | #define ASN1_ITEM_end(itname) \ |
84 | }; | 84 | }; |
diff --git a/src/lib/libssl/src/crypto/asn1/asn1.h b/src/lib/libssl/src/crypto/asn1/asn1.h index f92816b6c3..e7264ccb09 100644 --- a/src/lib/libssl/src/crypto/asn1/asn1.h +++ b/src/lib/libssl/src/crypto/asn1/asn1.h | |||
@@ -398,7 +398,7 @@ typedef const ASN1_ITEM ASN1_ITEM_EXP; | |||
398 | #define ASN1_ITEM_rptr(ref) (&(ref##_it)) | 398 | #define ASN1_ITEM_rptr(ref) (&(ref##_it)) |
399 | 399 | ||
400 | #define DECLARE_ASN1_ITEM(name) \ | 400 | #define DECLARE_ASN1_ITEM(name) \ |
401 | OPENSSL_EXTERN const ASN1_ITEM name##_it; | 401 | extern const ASN1_ITEM name##_it; |
402 | 402 | ||
403 | #else | 403 | #else |
404 | 404 | ||
diff --git a/src/lib/libssl/src/crypto/asn1/asn1t.h b/src/lib/libssl/src/crypto/asn1/asn1t.h index fcb3c5cf9a..21d41bc11e 100644 --- a/src/lib/libssl/src/crypto/asn1/asn1t.h +++ b/src/lib/libssl/src/crypto/asn1/asn1t.h | |||
@@ -78,7 +78,7 @@ extern "C" { | |||
78 | /* Macros for start and end of ASN1_ITEM definition */ | 78 | /* Macros for start and end of ASN1_ITEM definition */ |
79 | 79 | ||
80 | #define ASN1_ITEM_start(itname) \ | 80 | #define ASN1_ITEM_start(itname) \ |
81 | OPENSSL_GLOBAL const ASN1_ITEM itname##_it = { | 81 | const ASN1_ITEM itname##_it = { |
82 | 82 | ||
83 | #define ASN1_ITEM_end(itname) \ | 83 | #define ASN1_ITEM_end(itname) \ |
84 | }; | 84 | }; |