From db7833f5e8f407ad6f61eadc970966c35d030ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 18 Apr 2011 13:27:42 +0200 Subject: Move the type application_start_type() into cowboy_app. --- include/types.hrl | 3 --- src/cowboy_app.erl | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/types.hrl b/include/types.hrl index 8842a8e..684ee03 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 4f81ff6..b251ff4 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. -- cgit v1.2.3