aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/clearerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/clearerr.c')
-rw-r--r--src/stdio/clearerr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/clearerr.c b/src/stdio/clearerr.c
index 3bf94d30..b2a70d58 100644
--- a/src/stdio/clearerr.c
+++ b/src/stdio/clearerr.c
@@ -8,3 +8,11 @@ void clearerr(FILE *f)
}
weak_alias(clearerr, clearerr_unlocked);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif