aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-02-15 11:53:27 +0100
committerMicael Karlberg <[email protected]>2019-02-22 19:45:53 +0100
commite2577c04773425dd2f23d427e18af67339e466df (patch)
treedb91ea8de0565cc6fb9d459d052fe442ed4b55b2 /erts/preloaded
parent52d9408a389e5e338b9bcdcadac666a14667eb9b (diff)
downloadotp-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/preloaded')
-rw-r--r--erts/preloaded/ebin/net.beambin5600 -> 5940 bytes
-rw-r--r--erts/preloaded/src/net.erl7
2 files changed, 7 insertions, 0 deletions
diff --git a/erts/preloaded/ebin/net.beam b/erts/preloaded/ebin/net.beam
index cb0a2a1ff4..ebb1296b95 100644
--- a/erts/preloaded/ebin/net.beam
+++ b/erts/preloaded/ebin/net.beam
Binary files differ
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 |