aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorBruce Yinhe <[email protected]>2014-12-18 15:08:26 +0100
committerBruce Yinhe <[email protected]>2014-12-18 15:08:26 +0100
commit7cf95c33a50a705c38226bccd0caa76a96f92ea5 (patch)
tree63f2253181ab39f668c7179cf30e05531fb3f75d /lib/stdlib
parent7c657ba949e51d6d176af82a5e56f9e68f5a3b1c (diff)
parentb29e4293de1b029c0b5327dc2a42c3414d13d059 (diff)
downloadotp-7cf95c33a50a705c38226bccd0caa76a96f92ea5.tar.gz
otp-7cf95c33a50a705c38226bccd0caa76a96f92ea5.tar.bz2
otp-7cf95c33a50a705c38226bccd0caa76a96f92ea5.zip
Merge branch 'haguenau/fix-endianness-speling' into maint
* haguenau/fix-endianness-speling: Replaced "Endianess" with "Endianness" everywhere
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/binary.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl
index 4850a59eb6..8d07a356dd 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -89,9 +89,9 @@ copy(_, _) ->
decode_unsigned(_) ->
erlang:nif_error(undef).
--spec decode_unsigned(Subject, Endianess) -> Unsigned when
+-spec decode_unsigned(Subject, Endianness) -> Unsigned when
Subject :: binary(),
- Endianess :: big | little,
+ Endianness :: big | little,
Unsigned :: non_neg_integer().
decode_unsigned(_, _) ->
@@ -103,9 +103,9 @@ decode_unsigned(_, _) ->
encode_unsigned(_) ->
erlang:nif_error(undef).
--spec encode_unsigned(Unsigned, Endianess) -> binary() when
+-spec encode_unsigned(Unsigned, Endianness) -> binary() when
Unsigned :: non_neg_integer(),
- Endianess :: big | little.
+ Endianness :: big | little.
encode_unsigned(_, _) ->
erlang:nif_error(undef).