diff options
author | Matthias Radestock <matthias@lshift.net> | 2008-11-21 09:53:52 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2008-11-21 09:53:52 +0000 |
commit | e2684d46591069b94b2c1e7f1ebe3fc5857845e4 (patch) | |
tree | 0caed8100c081fdb1321a942f73422623b8d6c50 /src/rabbit_mnesia.erl | |
parent | d273e77ffc94d62ceab52c1018648f4fdf02cf90 (diff) | |
download | rabbitmq-server-e2684d46591069b94b2c1e7f1ebe3fc5857845e4.tar.gz |
rename node() type to erlang_node()bug19792
because the r12b-5 compiler issues a "Warning: type node() is a new
builtin type; its (re)definition is allowed only until the next
release" otherwise
Diffstat (limited to 'src/rabbit_mnesia.erl')
-rw-r--r-- | src/rabbit_mnesia.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index 9b67135d..8d34d285 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -40,11 +40,11 @@ -ifdef(use_specs). --spec(status/0 :: () -> [{'nodes' | 'running_nodes', [node()]}]). +-spec(status/0 :: () -> [{'nodes' | 'running_nodes', [erlang_node()]}]). -spec(ensure_mnesia_dir/0 :: () -> 'ok'). -spec(init/0 :: () -> 'ok'). -spec(is_db_empty/0 :: () -> bool()). --spec(cluster/1 :: ([node()]) -> 'ok'). +-spec(cluster/1 :: ([erlang_node()]) -> 'ok'). -spec(reset/0 :: () -> 'ok'). -spec(force_reset/0 :: () -> 'ok'). -spec(create_tables/0 :: () -> 'ok'). |