aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorErland Schönbeck <[email protected]>2015-03-17 12:20:27 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:54 +0100
commit150850739e054cef6ee09e7e364a14526d10f34e (patch)
tree2f2125bdb3803843a00c4325b73188c9381b758c /lib/inets
parent7cdde7537deccd53d95d03860379f3d20ad2e265 (diff)
downloadotp-150850739e054cef6ee09e7e364a14526d10f34e.tar.gz
otp-150850739e054cef6ee09e7e364a14526d10f34e.tar.bz2
otp-150850739e054cef6ee09e7e364a14526d10f34e.zip
inets: Suppress deprecated warning on erlang:now/0
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/src/inets_app/inets_lib.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/inets/src/inets_app/inets_lib.erl b/lib/inets/src/inets_app/inets_lib.erl
index 3f970e31cc..11d3bac6bb 100644
--- a/lib/inets/src/inets_app/inets_lib.erl
+++ b/lib/inets/src/inets_app/inets_lib.erl
@@ -18,6 +18,7 @@
%%
-module(inets_lib).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
-export([millisec_passed/1, formated_timestamp/0, format_timestamp/1]).