From d84e67b9e089c41eab143045f37183e87d46534d Mon Sep 17 00:00:00 2001 From: Alexandru Scvortov Date: Mon, 5 Jul 2010 23:39:33 +0100 Subject: moved export_types to inside ifdefs --- src/rabbit.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/rabbit.erl') 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()). -- cgit v1.2.1