It seems like the removal of "extern" before "static" wasn't a

mistake.
This commit is contained in:
Richard Levitte 2001-05-13 17:55:30 +00:00
parent 496da8b918
commit 99c65cef0f

View File

@ -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)