summaryrefslogtreecommitdiff
path: root/tests/headers/net_if.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/net_if.c
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'tests/headers/net_if.c')
-rw-r--r--tests/headers/net_if.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/headers/net_if.c b/tests/headers/net_if.c
deleted file mode 100644
index b2a5a29c..00000000
--- a/tests/headers/net_if.c
+++ /dev/null
@@ -1,19 +0,0 @@
-// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/net_if.h.html
-
-#include "core.h"
-
-#include <net/if.h>
-
-TEST(net_if_h)
-{
- TYPE(struct if_nameindex);
- STRUCT_MEMBER(struct if_nameindex, unsigned, if_index);
- STRUCT_MEMBER(struct if_nameindex, char *, if_name);
-
- MACRO(IF_NAMESIZE);
-
- FUNCTION(if_freenameindex, FN(void, struct if_nameindex *));
- FUNCTION(if_indextoname, FN(char *, unsigned, char *));
- FUNCTION(if_nameindex, FN(struct if_nameindex *));
- FUNCTION(if_nametoindex, FN(unsigned, const char *));
-}