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
commit3b489dce14ab65e0704e19bed3510fad40c2fedd (patch)
tree0caed8100c081fdb1321a942f73422623b8d6c50 /include
parent18a9a98d7a139ed810979218af2afe5baf57a0fb (diff)
downloadrabbitmq-server-git-3b489dce14ab65e0704e19bed3510fad40c2fedd.tar.gz
rename node() type to erlang_node()
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 706a92af7a..42bc8fa9c8 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()}).