aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-05-03 17:18:44 +0200
committerLukas Larsson <[email protected]>2017-05-16 10:46:40 +0200
commite6437e926340c3024449b83826f8013d187caaed (patch)
tree4610fa8a5cd53db29978cfd7e4c73a109a52955f /erts/emulator/beam/erl_alloc.h
parent95e22b101b73087630fd58ae2487a91fcf004334 (diff)
downloadotp-e6437e926340c3024449b83826f8013d187caaed.tar.gz
otp-e6437e926340c3024449b83826f8013d187caaed.tar.bz2
otp-e6437e926340c3024449b83826f8013d187caaed.zip
erts: Remove old unused functions
The functions have been found using: https://github.com/caolanm/callcatcher
Diffstat (limited to 'erts/emulator/beam/erl_alloc.h')
-rw-r--r--erts/emulator/beam/erl_alloc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/erts/emulator/beam/erl_alloc.h b/erts/emulator/beam/erl_alloc.h
index 56a3b73bf9..758d529f87 100644
--- a/erts/emulator/beam/erl_alloc.h
+++ b/erts/emulator/beam/erl_alloc.h
@@ -173,13 +173,6 @@ __decl_noreturn void erts_realloc_n_enomem(ErtsAlcType_t,void*,Uint)
__decl_noreturn void erts_alc_fatal_error(int,int,ErtsAlcType_t,...)
__noreturn;
-/* --- DO *NOT* USE THESE DEPRECATED FUNCTIONS --- Instead use: */
-void *safe_alloc(Uint) __deprecated; /* erts_alloc() */
-void *safe_realloc(void *, Uint) __deprecated; /* erts_realloc() */
-void sys_free(void *) __deprecated; /* erts_free() */
-void *sys_alloc(Uint ) __deprecated; /* erts_alloc_fnf() */
-void *sys_realloc(void *, Uint) __deprecated; /* erts_realloc_fnf() */
-
#undef ERTS_HAVE_IS_IN_LITERAL_RANGE
#if defined(ARCH_32) || defined(ERTS_HAVE_OS_PHYSICAL_MEMORY_RESERVATION)
# define ERTS_HAVE_IS_IN_LITERAL_RANGE