aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src
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
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')
-rw-r--r--lib/inets/src/ftp/ftp.erl1
-rw-r--r--lib/inets/src/tftp/tftp_logger.erl1
-rw-r--r--lib/inets/src/tftp/tftp_sup.erl1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl
index 20f36e6d8a..66dcf0f167 100644
--- a/lib/inets/src/ftp/ftp.erl
+++ b/lib/inets/src/ftp/ftp.erl
@@ -21,6 +21,7 @@
%% It also supports ipv6 RFC 2428 and starttls RFC 4217.
-module(ftp).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
-behaviour(gen_server).
-behaviour(inets_service).
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).