diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /tests/headers/arpa_inet.c | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'tests/headers/arpa_inet.c')
| -rw-r--r-- | tests/headers/arpa_inet.c | 30 |
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)) -} |
