We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c167dee commit 34ae5daCopy full SHA for 34ae5da
1 file changed
external/bsd/include/arpa/inet.h
@@ -7,22 +7,22 @@
7
8
static inline uint32_t htonl(uint32_t hostlong)
9
{
10
- return __builtin_bswap32(hostlong);
+ return hostlong;
11
}
12
13
static inline uint16_t htons(uint16_t hostshort)
14
15
- return __builtin_bswap16(hostshort);
+ return hostshort;
16
17
18
static inline uint32_t ntohl(uint32_t netlong)
19
20
- return __builtin_bswap32(netlong);
+ return netlong;
21
22
23
static inline uint16_t ntohs(uint16_t netshort)
24
25
- return __builtin_bswap16(netshort);
+ return netshort;
26
27
28
#ifdef __cplusplus
0 commit comments