aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-08-15 16:26:34 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:10:33 +0100
commit5ad822ccfd841400bc44cb53acc6a0889ca3f128 (patch)
tree12ef789656884e00007f8db2a7b209d573e4bfc2 /erts/preloaded
parente8df66a934045a1b0dc1edf0a695b6dbcf4cca4b (diff)
downloadotp-5ad822ccfd841400bc44cb53acc6a0889ca3f128.tar.gz
otp-5ad822ccfd841400bc44cb53acc6a0889ca3f128.tar.bz2
otp-5ad822ccfd841400bc44cb53acc6a0889ca3f128.zip
Remove obsolete erlang:dlink/1, dunlink/1 and dist_exit/3
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/src/erlang.erl26
1 files changed, 1 insertions, 25 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 56a7d03473..43ac8a6f26 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -31,7 +31,6 @@
-export([localtime_to_universaltime/1]).
-export([suspend_process/1]).
-export([min/2, max/2]).
--export([dlink/1, dunlink/1]).
-export([dgroup_leader/2,
dexit/2, dmonitor_node/3, dmonitor_p/2]).
-export([delay_trap/2]).
@@ -125,7 +124,7 @@
-export([crc32/2, crc32_combine/3, date/0, decode_packet/3]).
-export([delete_element/2]).
-export([delete_module/1, demonitor/1, demonitor/2, display/1]).
--export([display_nl/0, display_string/1, dist_exit/3, erase/0, erase/1]).
+-export([display_nl/0, display_string/1, erase/0, erase/1]).
-export([error/1, error/2, exit/1, exit/2, external_size/1]).
-export([external_size/2, finish_after_on_load/2, finish_loading/1, float/1]).
-export([float_to_binary/1, float_to_binary/2,
@@ -707,14 +706,6 @@ display_nl() ->
display_string(_P1) ->
erlang:nif_error(undefined).
-%% dist_exit/3
--spec erlang:dist_exit(P1, P2, P3) -> true when
- P1 :: pid(),
- P2 :: kill | noconnection | normal,
- P3 :: pid() | port().
-dist_exit(_P1, _P2, _P3) ->
- erlang:nif_error(undefined).
-
%% dt_append_vm_tag_data/1
-spec erlang:dt_append_vm_tag_data(IoData) -> IoDataRet when
IoData :: iodata(),
@@ -3290,21 +3281,6 @@ dist_get_stat(_DHandle) ->
%% reactivate the command.
%%
--spec erlang:dlink(pid() | port()) -> 'true'.
-dlink(Pid) ->
- case net_kernel:connect(erlang:node(Pid)) of
- true -> erlang:link(Pid);
- false -> erlang:dist_exit(erlang:self(), noconnection, Pid), true
- end.
-
-%% Can this ever happen?
--spec erlang:dunlink(identifier()) -> 'true'.
-dunlink(Pid) ->
- case net_kernel:connect(erlang:node(Pid)) of
- true -> erlang:unlink(Pid);
- false -> true
- end.
-
dmonitor_node(Node, _Flag, []) ->
%% Only called when auto-connect attempt failed early in VM
erlang:self() ! {nodedown, Node},