aboutsummaryrefslogtreecommitdiff
path: root/src/string/strerror_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strerror_r.c')
-rw-r--r--src/string/strerror_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/strerror_r.c b/src/string/strerror_r.c
index 1dc88bb1..8d2e3bda 100644
--- a/src/string/strerror_r.c
+++ b/src/string/strerror_r.c
@@ -17,3 +17,11 @@ int strerror_r(int err, char *buf, size_t buflen)
}
weak_alias(strerror_r, __xpg_strerror_r);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif