summaryrefslogtreecommitdiffstats
path: root/e_os2.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-05-13 06:34:57 +0200
committerRichard Levitte <levitte@openssl.org>2001-05-13 06:34:57 +0200
commit96aaf806d8da234b7acc50a4822c4aff84d907bb (patch)
tree3d1f81b2c97443ec041d365b613fec5b2f236947 /e_os2.h
parent#if 0 out deleted (?) functions to stop Win32 DLL (diff)
downloadopenssl-96aaf806d8da234b7acc50a4822c4aff84d907bb.tar.xz
openssl-96aaf806d8da234b7acc50a4822c4aff84d907bb.zip
Put back a removed "extern", or many compilers will complain about
redefined variables.
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 5ebd7481ee..0abc9aedf9 100644
--- a/e_os2.h
+++ b/e_os2.h
@@ -223,7 +223,7 @@ extern "C" {
#define foobar OPENSSL_GLOBAL_REF(foobar)
*/
#ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION
-# define OPENSSL_IMPLEMENT_GLOBAL(type,name) static type _hide_##name; \
+# define OPENSSL_IMPLEMENT_GLOBAL(type,name) extern static type _hide_##name; \
type *_shadow_##name(void) { return &_hide_##name; } \
static type _hide_##name
# define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)