summaryrefslogtreecommitdiff
path: root/src/tcp_acceptor_sup.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-08-08 10:41:11 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-08-08 10:41:11 +0100
commitddc942910cc8c90b7254c32497b280aa8471a974 (patch)
treef8b576ec796bccf9429ba78aeb1f9b5e4f3d06c7 /src/tcp_acceptor_sup.erl
parente5780f47681a7cb82c1562fb507f8b6a9fa8013f (diff)
downloadrabbitmq-server-ddc942910cc8c90b7254c32497b280aa8471a974.tar.gz
more specs
The specs in msg_store_ets_index, msg_store_gc, msg_store_index, net, networking, node_monitor, prelaunch, queue_collector, queue_index, reader, registry, restartable_sup, router, sasl_report_file_h, ssl, trace, upgrade, upgrade_functions, version, vhost, writer, tcp_acceptor, tcp_acceptor_sup, tcp_listener, tcp_listener_sup, vm_memory_monitor, worker_pool, worker_pool_sup, worker_pool_worker, misc, types are up to date. That should be the last of the specs.
Diffstat (limited to 'src/tcp_acceptor_sup.erl')
-rw-r--r--src/tcp_acceptor_sup.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tcp_acceptor_sup.erl b/src/tcp_acceptor_sup.erl
index bf0eacd1..4c835598 100644
--- a/src/tcp_acceptor_sup.erl
+++ b/src/tcp_acceptor_sup.erl
@@ -22,6 +22,14 @@
-export([init/1]).
+%%----------------------------------------------------------------------------
+
+-ifdef(use_specs).
+-spec(start_link/2 :: (atom(), mfa()) -> rabbit_types:ok_pid_or_error()).
+-endif.
+
+%%----------------------------------------------------------------------------
+
start_link(Name, Callback) ->
supervisor:start_link({local,Name}, ?MODULE, Callback).