diff options
author | Peer Stritzinger <[email protected]> | 2017-03-04 15:08:41 +0100 |
---|---|---|
committer | Sebastien Merle <[email protected]> | 2018-01-24 17:21:37 +0100 |
commit | 58632af80fd43955ec58c021e5c0d04caa1840de (patch) | |
tree | a5945add5b802ec46dc41748233ca0d81ebfbc4e | |
parent | 7b3c7a72843b9ff65d2a99f5ac73756ee3b291d1 (diff) | |
download | otp-58632af80fd43955ec58c021e5c0d04caa1840de.tar.gz otp-58632af80fd43955ec58c021e5c0d04caa1840de.tar.bz2 otp-58632af80fd43955ec58c021e5c0d04caa1840de.zip |
erts_allctr_wrappers should be declared extern in header
-rw-r--r-- | erts/emulator/beam/erl_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc.h b/erts/emulator/beam/erl_alloc.h index efde36e47a..0438b7cd8c 100644 --- a/erts/emulator/beam/erl_alloc.h +++ b/erts/emulator/beam/erl_alloc.h @@ -146,7 +146,7 @@ typedef struct ErtsAllocatorWrapper_t_ { void (*unlock)(void); struct ErtsAllocatorWrapper_t_* next; }ErtsAllocatorWrapper_t; -ErtsAllocatorWrapper_t *erts_allctr_wrappers; +extern ErtsAllocatorWrapper_t *erts_allctr_wrappers; extern int erts_allctr_wrapper_prelocked; extern erts_tsd_key_t erts_allctr_prelock_tsd_key; void erts_allctr_wrapper_prelock_init(ErtsAllocatorWrapper_t* wrapper); |