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