aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/c.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-09-10 14:37:02 +0200
committerPatrik Nyblom <[email protected]>2010-09-10 14:37:02 +0200
commit6bdca85ec8e5a73aa00ad1da2ea45f4cf2f2ae02 (patch)
tree07492ef6b7f98ef05ecc47518038980173996480 /lib/stdlib/src/c.erl
parentbf276aef756681bd2ccb31aff54b646ff6a68d73 (diff)
parent19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac (diff)
downloadotp-6bdca85ec8e5a73aa00ad1da2ea45f4cf2f2ae02.tar.gz
otp-6bdca85ec8e5a73aa00ad1da2ea45f4cf2f2ae02.tar.bz2
otp-6bdca85ec8e5a73aa00ad1da2ea45f4cf2f2ae02.zip
Merge branch 'pan/added-autoimports/OTP-8763' into dev
* pan/added-autoimports/OTP-8763: Remove warnings for clashes with new autoimported BIFs Add testcase for autoimport and the erlang.xml doc consistency Correct erlang.xml regarding autoimports Add new autoimports for R14B
Diffstat (limited to 'lib/stdlib/src/c.erl')
-rw-r--r--lib/stdlib/src/c.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/c.erl b/lib/stdlib/src/c.erl
index e05a1c787f..6d50a575eb 100644
--- a/lib/stdlib/src/c.erl
+++ b/lib/stdlib/src/c.erl
@@ -20,6 +20,8 @@
%% Utilities to use from shell.
+%% Avoid warning for local function error/2 clashing with autoimported BIF.
+-compile({no_auto_import,[error/2]}).
-export([help/0,lc/1,c/1,c/2,nc/1,nc/2, nl/1,l/1,i/0,i/1,ni/0,
y/1, y/2,
lc_batch/0, lc_batch/1,