aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/tftp
diff options
context:
space:
mode:
authorErland Schönbeck <[email protected]>2015-03-09 11:16:01 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:54 +0100
commitf4a774425a440caa912da71cfb8c0c70df4df69e (patch)
treed58a81e1a978386aadec233df50ca7f628780417 /lib/inets/src/tftp
parent1132117b38cfe33e770a0d5b1a782d48667427c4 (diff)
downloadotp-f4a774425a440caa912da71cfb8c0c70df4df69e.tar.gz
otp-f4a774425a440caa912da71cfb8c0c70df4df69e.tar.bz2
otp-f4a774425a440caa912da71cfb8c0c70df4df69e.zip
Suppress deprecated warning on erlang:now/0
Diffstat (limited to 'lib/inets/src/tftp')
-rw-r--r--lib/inets/src/tftp/tftp_logger.erl1
-rw-r--r--lib/inets/src/tftp/tftp_sup.erl1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/inets/src/tftp/tftp_logger.erl b/lib/inets/src/tftp/tftp_logger.erl
index aa449682ce..2066445ef7 100644
--- a/lib/inets/src/tftp/tftp_logger.erl
+++ b/lib/inets/src/tftp/tftp_logger.erl
@@ -18,6 +18,7 @@
%%
%%
-module(tftp_logger).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
%%-------------------------------------------------------------------
%% Interface
diff --git a/lib/inets/src/tftp/tftp_sup.erl b/lib/inets/src/tftp/tftp_sup.erl
index 54806bd432..9327cc93b6 100644
--- a/lib/inets/src/tftp/tftp_sup.erl
+++ b/lib/inets/src/tftp/tftp_sup.erl
@@ -22,6 +22,7 @@
%%----------------------------------------------------------------------
-module(tftp_sup).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
-behaviour(supervisor).