aboutsummaryrefslogtreecommitdiff
path: root/src/network/inet_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/inet_legacy.c')
-rw-r--r--src/network/inet_legacy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/inet_legacy.c b/src/network/inet_legacy.c
index 621b47b0..f6c98c16 100644
--- a/src/network/inet_legacy.c
+++ b/src/network/inet_legacy.c
@@ -30,3 +30,11 @@ in_addr_t inet_netof(struct in_addr in)
if (h>>24 < 192) return h >> 16;
return h >> 8;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif