summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2014-02-18 14:05:05 +0000
committerTim Watson <tim@rabbitmq.com>2014-02-18 14:05:05 +0000
commit9f6e7e7719883fa2e4c445ccdc73e4a162bfcea0 (patch)
tree860a3ca9d0e2b06f3ce88a00633eb9ca22dd279f /src
parent08e583a2f127e151ed8ba8eda3dfd1abf1f545a9 (diff)
downloadrabbitmq-server-git-9f6e7e7719883fa2e4c445ccdc73e4a162bfcea0.tar.gz
Add a type spec for prepare_boot_table
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_boot.erl17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/rabbit_boot.erl b/src/rabbit_boot.erl
index 018a389967..d09864422a 100644
--- a/src/rabbit_boot.erl
+++ b/src/rabbit_boot.erl
@@ -24,14 +24,15 @@
-ifdef(use_specs).
--spec(boot_with/1 :: (fun(() -> 'ok')) -> 'ok').
--spec(shutdown/1 :: ([atom()]) -> 'ok').
--spec(start/1 :: ([atom()]) -> 'ok').
--spec(stop/1 :: ([atom()]) -> 'ok').
--spec(run_boot_steps/0 :: () -> 'ok').
--spec(boot_error/2 :: (term(), not_available | [tuple()]) -> no_return()).
--spec(boot_error/4 :: (term(), string(), [any()], not_available | [tuple()])
- -> no_return()).
+-spec(prepare_boot_table/0 :: () -> 'ok').
+-spec(boot_with/1 :: (fun(() -> 'ok')) -> 'ok').
+-spec(shutdown/1 :: ([atom()]) -> 'ok').
+-spec(start/1 :: ([atom()]) -> 'ok').
+-spec(stop/1 :: ([atom()]) -> 'ok').
+-spec(run_boot_steps/0 :: () -> 'ok').
+-spec(boot_error/2 :: (term(), not_available | [tuple()]) -> no_return()).
+-spec(boot_error/4 :: (term(), string(), [any()], not_available | [tuple()])
+ -> no_return()).
-endif.