From bafccb2f57ac1a1852be2d6aafe33cf02d1630c1 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 15:45:38 -0500 Subject: update dependencies --- src/arpa/inet/htonl.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/arpa/inet/htonl.c (limited to 'src/arpa/inet/htonl.c') diff --git a/src/arpa/inet/htonl.c b/src/arpa/inet/htonl.c deleted file mode 100644 index 23522d9f..00000000 --- a/src/arpa/inet/htonl.c +++ /dev/null @@ -1,21 +0,0 @@ -#if 0 - -#include - -uint32_t htonl(uint32_t hostlong) -{ - union { - uint32_t u; - unsigned char c[sizeof(uint32_t)]; - } u; - - u.c[0] = (hostlong >> 24) & 0xff; - u.c[1] = (hostlong >> 16) & 0xff; - u.c[2] = (hostlong >> 8) & 0xff; - u.c[3] = (hostlong) & 0xff; - - return u.u; -} - - -#endif -- cgit v1.2.1