Put back a removed "extern", or many compilers will complain about

redefined variables.
This commit is contained in:
Richard Levitte 2001-05-13 04:34:57 +00:00
parent d70e5100c0
commit 96aaf806d8

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