aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-02-17 12:02:54 +0100
committerMicael Karlberg <[email protected]>2011-02-17 12:02:54 +0100
commitdd99864e18829150951285d3819096e04ebda3de (patch)
treee5c18185a8ac2083401b657226417e0d0b502cd0 /lib/snmp
parent6728569903cfb466953ff7ee9d776beb76dca0f1 (diff)
downloadotp-dd99864e18829150951285d3819096e04ebda3de.tar.gz
otp-dd99864e18829150951285d3819096e04ebda3de.tar.bz2
otp-dd99864e18829150951285d3819096e04ebda3de.zip
No auto-import of erlang:error/1,2.
Diffstat (limited to 'lib/snmp')
-rw-r--r--lib/snmp/test/snmp_appup_test.erl4
-rw-r--r--lib/snmp/test/snmp_test_mgr_misc.erl4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/snmp/test/snmp_appup_test.erl b/lib/snmp/test/snmp_appup_test.erl
index 18509526cf..756636f79c 100644
--- a/lib/snmp/test/snmp_appup_test.erl
+++ b/lib/snmp/test/snmp_appup_test.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2003-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -30,6 +30,8 @@
]).
+-compile({no_auto_import, [error/1]}).
+
-include("test_server.hrl").
-include("snmp_test_lib.hrl").
diff --git a/lib/snmp/test/snmp_test_mgr_misc.erl b/lib/snmp/test/snmp_test_mgr_misc.erl
index ef1ba0b948..fc6dedd96d 100644
--- a/lib/snmp/test/snmp_test_mgr_misc.erl
+++ b/lib/snmp/test/snmp_test_mgr_misc.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2010. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -33,6 +33,8 @@
%% internal exports
-export([init_packet/10]).
+-compile({no_auto_import, [error/2]}).
+
-define(SNMP_USE_V3, true).
-include_lib("snmp/include/snmp_types.hrl").