diff options
author | Lukas Larsson <[email protected]> | 2017-05-03 17:18:44 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-05-16 10:46:40 +0200 |
commit | e6437e926340c3024449b83826f8013d187caaed (patch) | |
tree | 4610fa8a5cd53db29978cfd7e4c73a109a52955f /erts/emulator/beam/erl_alloc.c | |
parent | 95e22b101b73087630fd58ae2487a91fcf004334 (diff) | |
download | otp-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.c')
-rw-r--r-- | erts/emulator/beam/erl_alloc.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c index 71957b2259..5aea917ddc 100644 --- a/erts/emulator/beam/erl_alloc.c +++ b/erts/emulator/beam/erl_alloc.c @@ -3512,28 +3512,6 @@ void erts_allctr_wrapper_pre_unlock(void) } - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ - * Deprecated functions * - * * - * These functions are still defined since "non-OTP linked in drivers" may * - * contain (illegal) calls to them. * -\* */ - -/* --- DO *NOT* USE THESE FUNCTIONS --- */ - -void *sys_alloc(Uint sz) -{ return erts_alloc_fnf(ERTS_ALC_T_UNDEF, sz); } -void *sys_realloc(void *ptr, Uint sz) -{ return erts_realloc_fnf(ERTS_ALC_T_UNDEF, ptr, sz); } -void sys_free(void *ptr) -{ erts_free(ERTS_ALC_T_UNDEF, ptr); } -void *safe_alloc(Uint sz) -{ return erts_alloc(ERTS_ALC_T_UNDEF, sz); } -void *safe_realloc(void *ptr, Uint sz) -{ return erts_realloc(ERTS_ALC_T_UNDEF, ptr, sz); } - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ * NOTE: erts_alc_test() is only supposed to be used for testing. * * * |