aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.hrl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-18 13:32:35 +0200
committerLoïc Hoguin <[email protected]>2011-04-18 13:32:35 +0200
commit731d839323e74b95a326001e4e424a1f2b18902e (patch)
tree651bd6c94a3448ca46371d38b3899c88fcbb78b4 /include/types.hrl
parentdb7833f5e8f407ad6f61eadc970966c35d030ead (diff)
downloadcowboy-731d839323e74b95a326001e4e424a1f2b18902e.tar.gz
cowboy-731d839323e74b95a326001e4e424a1f2b18902e.tar.bz2
cowboy-731d839323e74b95a326001e4e424a1f2b18902e.zip
Replace posix() by atom(), for now.
The type isn't exported by OTP so we don't win much. Also, inet.erl and file.erl define posix() différently, so OTP needs to stop being so confuse in the first place before we can attempt to use it properly.
Diffstat (limited to 'include/types.hrl')
-rw-r--r--include/types.hrl1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/types.hrl b/include/types.hrl
index 684ee03..371dd18 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -12,5 +12,4 @@
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
--type posix() :: atom().
-type port_number() :: 0..65535.