aboutsummaryrefslogtreecommitdiffstats
path: root/include/arpa/inet.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-16 10:04:52 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-16 10:04:52 +0100
commit0a5906ec25e6a93935e21221a99179238933b60a (patch)
tree6fbbe2706209307b6fa9ba0025bebd560225babb /include/arpa/inet.h
parentadd ntohs, ntohl, ntohll, htons, htonl, and htonll (diff)
downloadslibc-0a5906ec25e6a93935e21221a99179238933b60a.tar.gz
slibc-0a5906ec25e6a93935e21221a99179238933b60a.tar.bz2
slibc-0a5906ec25e6a93935e21221a99179238933b60a.tar.xz
typo + attributes
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--include/arpa/inet.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index 8552838..34ff52c 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -46,7 +46,7 @@
* @since Always.
*/
uint16_t _ntohs(uint16_t)
- __GCC_ONLY(__attribute__((__const__, __warn_unuses_result__)));
+ __GCC_ONLY(__attribute__((__const__, __warn_unused_result__)));
#if !defined(__PORTABLE)
# define ntohs _ntohs
#else
@@ -65,7 +65,7 @@ uint16_t _ntohs(uint16_t)
* @since Always.
*/
uint32_t _ntohl(uint32_t)
- __GCC_ONLY(__attribute__((__const__, __warn_unuses_result__)));
+ __GCC_ONLY(__attribute__((__const__, __warn_unused_result__)));
#if !defined(__PORTABLE)
# define ntohl _ntohl
#else
@@ -87,7 +87,7 @@ uint32_t _ntohl(uint32_t)
* @since Always.
*/
uint64_t _ntohll(uint64_t)
- __GCC_ONLY(__attribute__((__const__, __warn_unuses_result__)));
+ __GCC_ONLY(__attribute__((__const__, __warn_unused_result__)));
# if !defined(__PORTABLE)
# define ntohll _ntohll
# else
@@ -107,7 +107,7 @@ uint64_t _ntohll(uint64_t)
* @since Always.
*/
uint16_t _htons(uint16_t)
- __GCC_ONLY(__attribute__((__const__, __warn_unuses_result__)));
+ __GCC_ONLY(__attribute__((__const__, __warn_unused_result__)));
#if !defined(__PORTABLE)
# define htons _htons
#else
@@ -126,7 +126,7 @@ uint16_t _htons(uint16_t)
* @since Always.
*/
uint32_t _htonl(uint32_t)
- __GCC_ONLY(__attribute__((__const__, __warn_unuses_result__)));
+ __GCC_ONLY(__attribute__((__const__, __warn_unused_result__)));
#if !defined(__PORTABLE)
# define htonl _htonl
#else
@@ -148,7 +148,7 @@ uint32_t _htonl(uint32_t)
* @since Always.
*/
uint64_t _htonll(uint64_t)
- __GCC_ONLY(__attribute__((__const__, __warn_unuses_result__)));
+ __GCC_ONLY(__attribute__((__const__, __warn_unused_result__)));
# if !defined(__PORTABLE)
# define htonll _htonll
# else