Commits

Oscar Hellström  committed efe502e

Adding last -spec for exported functions.

  • Participants
  • Parent commits 72ade6c

Comments (0)

Files changed (1)

File src/gen_tcpd.erl

 	start_acceptors(Acceptors - 1, Callback, CState, Socket, SSLTimeout).
 
 %% @hidden
+-spec init_acceptor(pid(), atom(), term(), any(), timeout()) -> _.
 init_acceptor(Parent, Callback, CState, Socket, SSLTimeout) ->
 	link(Parent),
 	accept(Parent, Callback, CState, Socket, SSLTimeout).
 module(Type) -> Type.
 
 %% @hidden
+-spec behaviour_info(any()) -> [{atom(), non_neg_integer()}] | ok.
 behaviour_info(callbacks) ->
 	[{init, 1}, {handle_connection, 2}, {handle_info, 2}, {terminate, 2}];
 behaviour_info(_) ->