aboutsummaryrefslogtreecommitdiff
path: root/src/network/gethostbyaddr_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/gethostbyaddr_r.c')
-rw-r--r--src/network/gethostbyaddr_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/gethostbyaddr_r.c b/src/network/gethostbyaddr_r.c
index ceaf3935..d8f129d6 100644
--- a/src/network/gethostbyaddr_r.c
+++ b/src/network/gethostbyaddr_r.c
@@ -70,3 +70,11 @@ int gethostbyaddr_r(const void *a, socklen_t l, int af,
*res = h;
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif