It seems like the removal of "extern" before "static" wasn't a
mistake.
This commit is contained in:
parent
496da8b918
commit
99c65cef0f
2
e_os2.h
2
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user