From: Richard Levitte Date: Sun, 13 May 2001 17:55:30 +0000 (+0000) Subject: It seems like the removal of "extern" before "static" wasn't a X-Git-Tag: OpenSSL_0_9_6c~182^2~172 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99c65cef0fe85e77090c6a2ca8d1a7398b01d5cd;p=oweals%2Fopenssl.git It seems like the removal of "extern" before "static" wasn't a mistake. --- diff --git a/e_os2.h b/e_os2.h index 0abc9aedf9..5ebd7481ee 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) extern static type _hide_##name; \ +# define OPENSSL_IMPLEMENT_GLOBAL(type,name) 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)