summaryrefslogtreecommitdiff
path: root/src/rabbit_misc.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-11-21 09:53:52 +0000
committerMatthias Radestock <matthias@lshift.net>2008-11-21 09:53:52 +0000
commite2684d46591069b94b2c1e7f1ebe3fc5857845e4 (patch)
tree0caed8100c081fdb1321a942f73422623b8d6c50 /src/rabbit_misc.erl
parentd273e77ffc94d62ceab52c1018648f4fdf02cf90 (diff)
downloadrabbitmq-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_misc.erl')
-rw-r--r--src/rabbit_misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 7638af58..c1c643d3 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -85,7 +85,7 @@
-spec(with_user_and_vhost/3 :: (username(), vhost(), thunk(A)) -> A).
-spec(execute_mnesia_transaction/1 :: (thunk(A)) -> A).
-spec(ensure_ok/2 :: ('ok' | {'error', any()}, atom()) -> 'ok').
--spec(localnode/1 :: (atom()) -> node()).
+-spec(localnode/1 :: (atom()) -> erlang_node()).
-spec(tcp_name/3 :: (atom(), ip_address(), ip_port()) -> atom()).
-spec(intersperse/2 :: (A, [A]) -> [A]).
-spec(upmap/2 :: (fun ((A) -> B), [A]) -> [B]).