aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/lib.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-04-17 13:38:07 +0200
committerRichard Carlsson <[email protected]>2018-05-04 10:22:36 +0200
commita2f9d28ac231f7209815b743d9a20d266c51a187 (patch)
treecef7bfca6a4992038d0f842c80e506e5be5a6749 /lib/stdlib/src/lib.erl
parent3d2fa8b1a083d8eb9f9264982d8accceac37eea5 (diff)
downloadotp-a2f9d28ac231f7209815b743d9a20d266c51a187.tar.gz
otp-a2f9d28ac231f7209815b743d9a20d266c51a187.tar.bz2
otp-a2f9d28ac231f7209815b743d9a20d266c51a187.zip
Remove lib:error_message/2
Diffstat (limited to 'lib/stdlib/src/lib.erl')
-rw-r--r--lib/stdlib/src/lib.erl12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/stdlib/src/lib.erl b/lib/stdlib/src/lib.erl
index e5f5db0a8f..a115836411 100644
--- a/lib/stdlib/src/lib.erl
+++ b/lib/stdlib/src/lib.erl
@@ -19,7 +19,7 @@
%%
-module(lib).
--export([error_message/2, progname/0, eval_str/1]).
+-export([progname/0, eval_str/1]).
-export([extended_parse_exprs/1, extended_parse_term/1,
subst_values_for_vars/2]).
@@ -28,16 +28,6 @@
format_stacktrace/4, format_stacktrace/5,
format_call/4, format_call/5, format_fun/1, format_fun/2]).
-%%
-%% Functions for doing standard system format i/o.
-%%
--spec error_message(Format, Args) -> 'ok' when
- Format :: io:format(),
- Args :: [term()].
-
-error_message(Format, Args) ->
- io:format(<<"** ~ts **\n">>, [io_lib:format(Format, Args)]).
-
%% Return the name of the script that starts (this) erlang
%%
-spec progname() -> atom().