aboutsummaryrefslogtreecommitdiff
path: root/src/network/if_nameindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/if_nameindex.c')
-rw-r--r--src/network/if_nameindex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/if_nameindex.c b/src/network/if_nameindex.c
index 2deaef76..b868da85 100644
--- a/src/network/if_nameindex.c
+++ b/src/network/if_nameindex.c
@@ -112,3 +112,11 @@ err:
errno = ENOBUFS;
return ifs;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif