diff options
author | Patrik Nyblom <[email protected]> | 2010-09-01 14:30:14 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-09-10 14:24:42 +0200 |
commit | 19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac (patch) | |
tree | 07492ef6b7f98ef05ecc47518038980173996480 /lib/snmp/src/manager/snmpm_usm.erl | |
parent | 61b3f9abf28ba87e6042423192685e9d426dd040 (diff) | |
download | otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.tar.gz otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.tar.bz2 otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.zip |
Remove warnings for clashes with new autoimported BIFs
Diffstat (limited to 'lib/snmp/src/manager/snmpm_usm.erl')
-rw-r--r-- | lib/snmp/src/manager/snmpm_usm.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/snmp/src/manager/snmpm_usm.erl b/lib/snmp/src/manager/snmpm_usm.erl index 8cb3062d4b..449127844a 100644 --- a/lib/snmp/src/manager/snmpm_usm.erl +++ b/lib/snmp/src/manager/snmpm_usm.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2004-2009. All Rights Reserved. +%% Copyright Ericsson AB 2004-2010. 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 @@ -23,6 +23,10 @@ -module(snmpm_usm). +%% Avoid warning for local function error/1 clashing with autoimported BIF. +-compile({no_auto_import,[error/1]}). +%% Avoid warning for local function error/2 clashing with autoimported BIF. +-compile({no_auto_import,[error/2]}). -export([init/0, reset/0, process_incoming_msg/4, generate_outgoing_msg/5]). |