summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-05 23:39:33 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-05 23:39:33 +0100
commitd84e67b9e089c41eab143045f37183e87d46534d (patch)
tree33201ef0a6f89b923c3ee7203e6b0d911684e1f6 /src/rabbit.erl
parent6a67fc1e887b427feaaa1511be2ccbbae905fbe5 (diff)
downloadrabbitmq-server-d84e67b9e089c41eab143045f37183e87d46534d.tar.gz
moved export_types to inside ifdefs
Diffstat (limited to 'src/rabbit.erl')
-rw-r--r--src/rabbit.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 376e00dc..9f3481d2 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -39,11 +39,6 @@
-export([log_location/1]).
--export_type([txn/0, maybe/1, info/0, info_key/0, message/0, basic_message/0,
- delivery/0, content/0, decoded_content/0, undecoded_content/0,
- unencoded_content/0, encoded_content/0, vhost/0, ctag/0,
- ip_port/0, hostname/0]).
-
%%---------------------------------------------------------------------------
%% Boot steps.
-export([maybe_insert_default_data/0]).
@@ -189,6 +184,11 @@
-ifdef(use_specs).
+-export_type([txn/0, maybe/1, info/0, info_key/0, message/0, basic_message/0,
+ delivery/0, content/0, decoded_content/0, undecoded_content/0,
+ unencoded_content/0, encoded_content/0, vhost/0, ctag/0,
+ ip_port/0, hostname/0]).
+
-type(maybe(T) :: T | 'none').
-type(vhost() :: binary()).
-type(ctag() :: binary()).