Put back a removed "extern", or many compilers will complain about
authorRichard Levitte <levitte@openssl.org>
Sun, 13 May 2001 04:34:57 +0000 (04:34 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 13 May 2001 04:34:57 +0000 (04:34 +0000)
redefined variables.

e_os2.h

diff --git a/e_os2.h b/e_os2.h
index 5ebd748..0abc9ae 100644 (file)
--- 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)