summaryrefslogtreecommitdiff
path: root/src/gatherer.erl
diff options
context:
space:
mode:
authorMichael Klishin <michael@novemberain.com>2016-06-29 00:10:28 +0300
committerGitHub <noreply@github.com>2016-06-29 00:10:28 +0300
commit0923c9676fa7a1e5a839551ed6a11bb8192ff2c6 (patch)
treea980373888ff8dd63973e224d74e7ae45ae2aae1 /src/gatherer.erl
parentf7c54b9a7caaa9c3655fe8cfeccec8deaa28ca5c (diff)
parent35d9cf6f67040aa53f0627734aa462fb92b8ed14 (diff)
downloadrabbitmq-server-git-0923c9676fa7a1e5a839551ed6a11bb8192ff2c6.tar.gz
Merge pull request #861 from rabbitmq/rabbitmq-server-860
Compile on OTP 19.0
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'.
%%----------------------------------------------------------------------------