diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-08-27 14:49:16 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-08-27 14:49:16 +0100 |
| commit | 654ab15a9c6e91edf03514a896484e03917c671c (patch) | |
| tree | 5e010f0b8dcd4fe53f8c2392a2fe748dea33b111 /include | |
| parent | 1943485645746a580239ca6a2ec80218ecca5646 (diff) | |
| download | rabbitmq-server-git-654ab15a9c6e91edf03514a896484e03917c671c.tar.gz | |
Fixed spec definition. Renamed name() to
binary_name() because of the conflict with
definition in kernel/include/file.hrl
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 2 | ||||
| -rw-r--r-- | include/rabbit_framing_spec.hrl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index cc8fb1b526..b374f04702 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -71,7 +71,7 @@ -type(r(Kind) :: #resource{virtual_host :: vhost(), kind :: Kind, - name :: name()}). + name :: binary_name()}). -type(queue_name() :: r('queue')). -type(exchange_name() :: r('exchange')). -type(user() :: diff --git a/include/rabbit_framing_spec.hrl b/include/rabbit_framing_spec.hrl index ef9ab58487..6bd1cd917f 100644 --- a/include/rabbit_framing_spec.hrl +++ b/include/rabbit_framing_spec.hrl @@ -46,7 +46,7 @@ -type(channel_number() :: non_neg_integer()). %% TODO: make this more precise -type(amqp_error() :: {bool(), non_neg_integer(), binary()}). --type(name() :: binary()). +-type(binary_name() :: binary()). -type(routing_key() :: binary()). -type(username() :: binary()). -type(password() :: binary()). |
