diff options
author | Micael Karlberg <[email protected]> | 2019-02-15 11:53:27 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-02-22 19:45:53 +0100 |
commit | e2577c04773425dd2f23d427e18af67339e466df (patch) | |
tree | db91ea8de0565cc6fb9d459d052fe442ed4b55b2 /erts | |
parent | 52d9408a389e5e338b9bcdcadac666a14667eb9b (diff) | |
download | otp-e2577c04773425dd2f23d427e18af67339e466df.tar.gz otp-e2577c04773425dd2f23d427e18af67339e466df.tar.bz2 otp-e2577c04773425dd2f23d427e18af67339e466df.zip |
[net] Deprecated functions needs attribute
Add the 'depricated' attribute for the old (and decrepit)
functions from the old net module.
OTP-14831
Diffstat (limited to 'erts')
-rw-r--r-- | erts/preloaded/ebin/net.beam | bin | 5600 -> 5940 bytes | |||
-rw-r--r-- | erts/preloaded/src/net.erl | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/net.beam b/erts/preloaded/ebin/net.beam Binary files differindex cb0a2a1ff4..ebb1296b95 100644 --- a/erts/preloaded/ebin/net.beam +++ b/erts/preloaded/ebin/net.beam diff --git a/erts/preloaded/src/net.erl b/erts/preloaded/src/net.erl index 0183a69ddb..a24b5c8ce3 100644 --- a/erts/preloaded/src/net.erl +++ b/erts/preloaded/src/net.erl @@ -59,6 +59,13 @@ network_interface_index/0 ]). +-deprecated({call, 4, eventually}). +-deprecated({cast, 4, eventually}). +-deprecated({broadcast, 3, eventually}). +-deprecated({ping, 1, eventually}). +-deprecated({relay, 1, eventually}). +-deprecated({sleep, 1, eventually}). + -type name_info_flags() :: [name_info_flag()|name_info_flag_ext()]. -type name_info_flag() :: namereqd | |