aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mseg.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.c')
-rw-r--r--erts/emulator/sys/common/erl_mseg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.c b/erts/emulator/sys/common/erl_mseg.c
index 010d60eb63..bd931cc62b 100644
--- a/erts/emulator/sys/common/erl_mseg.c
+++ b/erts/emulator/sys/common/erl_mseg.c
@@ -448,6 +448,7 @@ link_cd(cache_desc_t *cd)
cache_size++;
}
+#if CAN_PARTLY_DESTROY
static ERTS_INLINE void
end_link_cd(cache_desc_t *cd)
{
@@ -465,6 +466,7 @@ end_link_cd(cache_desc_t *cd)
cache_size++;
}
+#endif
static ERTS_INLINE void
unlink_cd(cache_desc_t *cd)