diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 15:45:38 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 15:45:38 -0500 |
| commit | bafccb2f57ac1a1852be2d6aafe33cf02d1630c1 (patch) | |
| tree | a6164b42b37b941cb64bbc3db8af7a1daf381ace /src/arpa/inet/htons.c | |
| parent | 910a86c095b6d7311d73fa88a632aa9b673243b2 (diff) | |
update dependencies
Diffstat (limited to 'src/arpa/inet/htons.c')
| -rw-r--r-- | src/arpa/inet/htons.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/arpa/inet/htons.c b/src/arpa/inet/htons.c deleted file mode 100644 index 7dbd56e1..00000000 --- a/src/arpa/inet/htons.c +++ /dev/null @@ -1,19 +0,0 @@ -#if 0 - -#include <arpa/inet.h> - -uint16_t htons(uint16_t hostshort) -{ - union { - uint16_t u; - unsigned char c[sizeof(uint16_t)]; - } u; - - u.c[0] = (hostshort >> 8) & 0xff; - u.c[1] = (hostshort) & 0xff; - - return u.u; -} - - -#endif |
