summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_misc.erl4
-rw-r--r--src/rabbit_plugins_main.erl1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index c8b172ec3f..d41aa09b15 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -86,8 +86,8 @@
-spec(die/1 ::
(rabbit_framing:amqp_exception()) -> channel_or_connection_exit()).
--spec(quit/1 :: (integer()) -> any()).
--spec(quit/2 :: (string(), [term()]) -> any()).
+-spec(quit/1 :: (integer()) -> no_return()).
+-spec(quit/2 :: (string(), [term()]) -> no_return()).
-spec(frame_error/2 :: (rabbit_framing:amqp_method_name(), binary())
-> rabbit_types:connection_exit()).
diff --git a/src/rabbit_plugins_main.erl b/src/rabbit_plugins_main.erl
index 60f662c12c..7a81f0dd5e 100644
--- a/src/rabbit_plugins_main.erl
+++ b/src/rabbit_plugins_main.erl
@@ -42,6 +42,7 @@
-spec(start/0 :: () -> no_return()).
-spec(stop/0 :: () -> 'ok').
+-spec(usage/0 :: () -> no_return()).
-endif.