diff options
author | Björn Gustavsson <[email protected]> | 2010-09-21 08:46:50 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-07-06 14:33:30 +0200 |
commit | 87a7b7f382650519bc1b021a2bf44093658982bc (patch) | |
tree | 53c1c2d1f89dd1ee18568e231a6c8d4868d97539 /erts/preloaded/src/erlang.erl | |
parent | 47dec87a8b9c3a29a6ae48a7712aef66275e546a (diff) | |
download | otp-87a7b7f382650519bc1b021a2bf44093658982bc.tar.gz otp-87a7b7f382650519bc1b021a2bf44093658982bc.tar.bz2 otp-87a7b7f382650519bc1b021a2bf44093658982bc.zip |
Remove deprecated concat_binary/1
concat_binary/1 was deprecated in R13B04, but already in
the R10B-2 release, the documentation recommends using
list_to_binary/1 instead.
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index 5deb69edab..ff3633a3cc 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -35,14 +35,13 @@ -export([delay_trap/2]). -export([set_cookie/2, get_cookie/0]). -export([nodes/0]). --export([concat_binary/1]). + -export([list_to_integer/2,integer_to_list/2]). -export([flush_monitor_message/2]). -export([set_cpu_topology/1, format_cpu_topology/1]). -export([await_proc_exit/3]). -deprecated([hash/2]). --deprecated([concat_binary/1]). % Get rid of autoimports of spawn to avoid clashes with ourselves. -compile({no_auto_import,[spawn/1]}). @@ -535,11 +534,6 @@ set_cookie(Node, C) when Node =/= nonode@nohost, is_atom(Node) -> get_cookie() -> auth:get_cookie(). --spec concat_binary(ListOfBinaries) -> binary() when - ListOfBinaries :: iolist(). -concat_binary(List) -> - list_to_binary(List). - -spec integer_to_list(Integer, Base) -> string() when Integer :: integer(), Base :: 2..36. |