summaryrefslogtreecommitdiff
path: root/src/gatherer.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gatherer.erl')
-rw-r--r--src/gatherer.erl18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/gatherer.erl b/src/gatherer.erl
index d3e1a4e438..18302699a2 100644
--- a/src/gatherer.erl
+++ b/src/gatherer.erl
@@ -39,17 +39,13 @@
%%----------------------------------------------------------------------------
--ifdef(use_specs).
-
--spec(start_link/0 :: () -> rabbit_types:ok_pid_or_error()).
--spec(stop/1 :: (pid()) -> 'ok').
--spec(fork/1 :: (pid()) -> 'ok').
--spec(finish/1 :: (pid()) -> 'ok').
--spec(in/2 :: (pid(), any()) -> 'ok').
--spec(sync_in/2 :: (pid(), any()) -> 'ok').
--spec(out/1 :: (pid()) -> {'value', any()} | 'empty').
-
--endif.
+-spec start_link() -> rabbit_types:ok_pid_or_error().
+-spec stop(pid()) -> 'ok'.
+-spec fork(pid()) -> 'ok'.
+-spec finish(pid()) -> 'ok'.
+-spec in(pid(), any()) -> 'ok'.
+-spec sync_in(pid(), any()) -> 'ok'.
+-spec out(pid()) -> {'value', any()} | 'empty'.
%%----------------------------------------------------------------------------