aboutsummaryrefslogtreecommitdiff
path: root/src/network/herror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/herror.c')
-rw-r--r--src/network/herror.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/herror.c b/src/network/herror.c
index 87f8cff4..07c33a54 100644
--- a/src/network/herror.c
+++ b/src/network/herror.c
@@ -6,3 +6,11 @@ void herror(const char *msg)
{
fprintf(stderr, "%s%s%s\n", msg?msg:"", msg?": ":"", hstrerror(h_errno));
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif