summaryrefslogtreecommitdiff
path: root/src/rabbit_memory_monitor.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-13 04:26:45 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-13 04:26:45 +0100
commit47f5b3df329ca7b75e0e090e9bd09338fe716b4d (patch)
tree20bd1e0f4f49a4131b1b9c5c3bc453481eeec562 /src/rabbit_memory_monitor.erl
parent1f982ed96126acf6654bd9db7bed34f21556eaf4 (diff)
downloadrabbitmq-server-47f5b3df329ca7b75e0e090e9bd09338fe716b4d.tar.gz
use consistent return types for start/start_link functionsbug23120
Diffstat (limited to 'src/rabbit_memory_monitor.erl')
-rw-r--r--src/rabbit_memory_monitor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_memory_monitor.erl b/src/rabbit_memory_monitor.erl
index bdf38075..f87b6271 100644
--- a/src/rabbit_memory_monitor.erl
+++ b/src/rabbit_memory_monitor.erl
@@ -86,7 +86,7 @@
-ifdef(use_specs).
--spec(start_link/0 :: () -> 'ignore' | rabbit_types:ok_or_error2(pid(), any())).
+-spec(start_link/0 :: () -> rabbit_types:ok_pid_or_error()).
-spec(update/0 :: () -> 'ok').
-spec(register/2 :: (pid(), {atom(),atom(),[any()]}) -> 'ok').
-spec(deregister/1 :: (pid()) -> 'ok').