diff --git a/include/types.hrl b/include/types.hrl index 8842a8e5..684ee034 100644 --- a/include/types.hrl +++ b/include/types.hrl @@ -12,8 +12,5 @@ %% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF %% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --type application_start_type() :: normal | - {takeover, Node::node()} | {failover, Node::node()}. - -type posix() :: atom(). -type port_number() :: 0..65535. diff --git a/src/cowboy_app.erl b/src/cowboy_app.erl index 4f81ff64..b251ff4d 100644 --- a/src/cowboy_app.erl +++ b/src/cowboy_app.erl @@ -17,6 +17,9 @@ -export([start/2, stop/1]). %% API. +-type application_start_type() :: normal | + {takeover, Node::node()} | {failover, Node::node()}. + -include("include/types.hrl"). %% API.