diff options
author | Lukas Larsson <[email protected]> | 2017-05-16 10:47:44 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-16 10:47:44 +0200 |
commit | 8fd3466d1fef48a09a45f7fd7f031addf3855dc2 (patch) | |
tree | 86164a6d5475cd80378af352d6734044b1a1f513 /erts/emulator/beam/erl_alloc.c | |
parent | 836d89d9423b4aa01fc887286b6a97721f62c02e (diff) | |
parent | e6437e926340c3024449b83826f8013d187caaed (diff) | |
download | otp-8fd3466d1fef48a09a45f7fd7f031addf3855dc2.tar.gz otp-8fd3466d1fef48a09a45f7fd7f031addf3855dc2.tar.bz2 otp-8fd3466d1fef48a09a45f7fd7f031addf3855dc2.zip |
Merge pull request #1436 from garazdawi/lukas/erts/remove_unused_functions
erts: Remove old unused functions
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 b2c1133ded..169e1e423d 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. * * * |