aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/app/snmp_internal.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-11-26 16:12:46 +0100
committerMicael Karlberg <[email protected]>2013-11-26 16:12:46 +0100
commit0f13b20298fd6f63a08d6fa1d1159a91d79fa1f6 (patch)
treea0e2ca49909defa1da5af2b7eaf24faf14f32a2c /lib/snmp/src/app/snmp_internal.hrl
parent6dd7c114b018ac412ed0d5c3423e988094aa9655 (diff)
parent8852c947d413e8814d663c9319f7b8932b05a7ad (diff)
downloadotp-0f13b20298fd6f63a08d6fa1d1159a91d79fa1f6.tar.gz
otp-0f13b20298fd6f63a08d6fa1d1159a91d79fa1f6.tar.bz2
otp-0f13b20298fd6f63a08d6fa1d1159a91d79fa1f6.zip
Merge branch 'maint'
Conflicts: lib/snmp/doc/src/snmpm_user.xml
Diffstat (limited to 'lib/snmp/src/app/snmp_internal.hrl')
-rw-r--r--lib/snmp/src/app/snmp_internal.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/snmp/src/app/snmp_internal.hrl b/lib/snmp/src/app/snmp_internal.hrl
index 5ff715e0b7..f04fa4dd53 100644
--- a/lib/snmp/src/app/snmp_internal.hrl
+++ b/lib/snmp/src/app/snmp_internal.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2006-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2006-2013. 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
@@ -24,6 +24,8 @@
-define(APPLICATION, snmp).
-endif.
+-define(STACK(), erlang:get_stacktrace()).
+
-define(snmp_info(C, F, A), ?snmp_msg(info_msg, C, F, A)).
-define(snmp_warning(C, F, A), ?snmp_msg(warning_msg, C, F, A)).
-define(snmp_error(C, F, A), ?snmp_msg(error_msg, C, F, A)).