summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/rabbit.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 706a92af..42bc8fa9 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -63,7 +63,7 @@
-include("rabbit_framing_spec.hrl").
-type(maybe(T) :: T | 'none').
--type(node() :: atom()).
+-type(erlang_node() :: atom()).
-type(socket() :: port()).
-type(thunk(T) :: fun(() -> T)).
@@ -123,7 +123,7 @@
-type(msg_id() :: non_neg_integer()).
-type(msg() :: {queue_name(), pid(), msg_id(), bool(), message()}).
-type(listener() ::
- #listener{node :: node(),
+ #listener{node :: erlang_node(),
protocol :: atom(),
host :: string() | atom(),
port :: non_neg_integer()}).