| Index: fusl/src/network/htons.c
|
| diff --git a/fusl/src/network/htons.c b/fusl/src/network/htons.c
|
| index 03a3a1d59ed4d5d10272d2751920ce3f8bec080b..31dc13e0b166f919a66d55352695c4107b767e90 100644
|
| --- a/fusl/src/network/htons.c
|
| +++ b/fusl/src/network/htons.c
|
| @@ -1,8 +1,10 @@
|
| #include <netinet/in.h>
|
| #include <byteswap.h>
|
|
|
| -uint16_t htons(uint16_t n)
|
| -{
|
| - union { int i; char c; } u = { 1 };
|
| - return u.c ? bswap_16(n) : n;
|
| +uint16_t htons(uint16_t n) {
|
| + union {
|
| + int i;
|
| + char c;
|
| + } u = {1};
|
| + return u.c ? bswap_16(n) : n;
|
| }
|
|
|