diff options
author | Micael Karlberg <[email protected]> | 2018-06-11 14:40:58 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-09-18 14:50:18 +0200 |
commit | f2a28200a826af65596bb554b014d2c93b6314a7 (patch) | |
tree | 314869b440b12370a8007817fc75906d5a8da508 /lib/stdlib/src/otp_internal.erl | |
parent | cc08971508f3515f9f3b6c406ff0f6a186b24f6b (diff) | |
download | otp-f2a28200a826af65596bb554b014d2c93b6314a7.tar.gz otp-f2a28200a826af65596bb554b014d2c93b6314a7.tar.bz2 otp-f2a28200a826af65596bb554b014d2c93b6314a7.zip |
[net-nif] Removed the old net module
The old net module (in kernel) (deprecated) was removed and its
function(s) has been moved into the new module.
Also a minor updated to the info function.
OTP-14831
Diffstat (limited to 'lib/stdlib/src/otp_internal.erl')
-rw-r--r-- | lib/stdlib/src/otp_internal.erl | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index aaed13ba3a..95d99f0367 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -44,8 +44,19 @@ obsolete(Module, Name, Arity) -> no end. -obsolete_1(net, _, _) -> - {deprecated, "module 'net' obsolete; use 'net_adm'"}; +obsolete_1(net, call, 4) -> + {deprecated, {rpc, call, 4}}; +obsolete_1(net, cast, 4) -> + {deprecated, {rpc, cast, 4}}; +obsolete_1(net, broadcast, 3) -> + {deprecated, {rpc, eval_everywhere, 3}}; +obsolete_1(net, ping, 1) -> + {deprecated, {net_adm, ping, 1}}; +obsolete_1(net, sleep, 1) -> + {deprecated, "Use 'receive after T -> ok end' instead"}; +obsolete_1(net, relay, 1) -> + {deprecated, {slave, relay, 1}}; + obsolete_1(erlang, now, 0) -> {deprecated, |