aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/tftp/tftp.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-05-23 14:54:56 +0200
committerMicael Karlberg <[email protected]>2012-05-23 14:54:56 +0200
commit4c5c287cfe234b8daaf8ead712edc43aa419949b (patch)
tree442209deb9258906562033b166b6ce34134c0790 /lib/inets/src/tftp/tftp.erl
parent76ffc030fc320d436b0a540a20783d5d317ae761 (diff)
downloadotp-4c5c287cfe234b8daaf8ead712edc43aa419949b.tar.gz
otp-4c5c287cfe234b8daaf8ead712edc43aa419949b.tar.bz2
otp-4c5c287cfe234b8daaf8ead712edc43aa419949b.zip
[inets] Removed R14B compatible version of behaviour definition
Removed R14B compatible version of (inets-service and tftp) behaviour definition. OTP-10095
Diffstat (limited to 'lib/inets/src/tftp/tftp.erl')
-rw-r--r--lib/inets/src/tftp/tftp.erl18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/inets/src/tftp/tftp.erl b/lib/inets/src/tftp/tftp.erl
index 0d7ae1a89e..1621add246 100644
--- a/lib/inets/src/tftp/tftp.erl
+++ b/lib/inets/src/tftp/tftp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2005-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2005-2012. 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
@@ -224,20 +224,6 @@
service_info/1
]).
--ifdef('OTP-R14B-COMPILER').
-
--export([behaviour_info/1]).
-
-behaviour_info(callbacks) ->
- [{prepare, 6},
- {open, 6},
- {read, 1},
- {write, 2},
- {abort, 3}];
-behaviour_info(_) ->
- undefined.
-
--else.
-type peer() :: {PeerType :: inet | inet6,
PeerHost :: inet:ip_address(),
@@ -280,8 +266,6 @@ behaviour_info(_) ->
-callback abort(Code :: error_code(), string(), State :: term()) -> 'ok'.
--endif.
-
-include("tftp.hrl").