Don't use multiple storage types.

This commit is contained in:
Dr. Stephen Henson 2004-12-19 01:21:18 +00:00
parent 627bd6709c
commit c05a7f5dfd

View File

@ -268,7 +268,7 @@ extern "C" {
*/
#ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION
# define OPENSSL_IMPLEMENT_GLOBAL(type,name) \
extern static type _hide_##name; \
extern type _hide_##name; \
type *_shadow_##name(void) { return &_hide_##name; } \
static type _hide_##name
# define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)