summaryrefslogtreecommitdiffstats
path: root/e_os2.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2004-12-19 02:21:18 +0100
committerDr. Stephen Henson <steve@openssl.org>2004-12-19 02:21:18 +0100
commitc05a7f5dfd7a4050acb319a8d7df8753938c5459 (patch)
treea61bd175a81b1e3765a13a7dfc64699c324bc036 /e_os2.h
parentFix typos in the ecparam doc. (diff)
downloadopenssl-c05a7f5dfd7a4050acb319a8d7df8753938c5459.tar.xz
openssl-c05a7f5dfd7a4050acb319a8d7df8753938c5459.zip
Don't use multiple storage types.
Diffstat (limited to 'e_os2.h')
-rw-r--r--e_os2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/e_os2.h b/e_os2.h
index 292ea1e2ac..60f9b5c9c7 100644
--- a/e_os2.h
+++ b/e_os2.h
@@ -268,7 +268,7 @@ extern "C" {
*/
#ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION
# define OPENSSL_IMPLEMENT_GLOBAL(type,name) \
- extern static type _hide_##name; \
+ extern type _hide_##name; \
type *_shadow_##name(void) { return &_hide_##name; } \
static type _hide_##name
# define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)