summaryrefslogtreecommitdiff
path: root/tests/headers/arpa_inet.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /tests/headers/arpa_inet.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'tests/headers/arpa_inet.c')
-rw-r--r--tests/headers/arpa_inet.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/headers/arpa_inet.c b/tests/headers/arpa_inet.c
deleted file mode 100644
index b5a5c33a..00000000
--- a/tests/headers/arpa_inet.c
+++ /dev/null
@@ -1,30 +0,0 @@
-// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/arpa_inet.h.html
-
-#include "core.h"
-
-#include <arpa/inet.h>
-
-TEST(arpa_inet_h)
-{
- TYPE(in_port_t);
- TYPE(in_addr_t);
-
- TYPE(struct in_addr);
-
- MACRO(INET_ADDRSTRLEN);
- MACRO(INET6_ADDRSTRLEN);
-
- FUNCTION(htonl, FN(uint32_t, uint32_t))
- FUNCTION(htons, FN(uint16_t, uint16_t))
- FUNCTION(ntohl, FN(uint32_t, uint32_t))
- FUNCTION(ntohs, FN(uint16_t, uint16_t))
-
- TYPE(uint32_t);
- TYPE(uint16_t);
-
- FUNCTION(inet_addr, FN(in_addr_t, const char *))
- FUNCTION(inet_ntoa, FN(char *, struct in_addr))
- FUNCTION(inet_ntop, FN(const char *, int, const void *restrict,
- char *restrict, socklen_t));
- FUNCTION(inet_pton, FN(int, int, const char *restrict, void *restrict))
-}