aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/__fmodeflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__fmodeflags.c')
-rw-r--r--src/stdio/__fmodeflags.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/__fmodeflags.c b/src/stdio/__fmodeflags.c
index da9f23b6..4829d551 100644
--- a/src/stdio/__fmodeflags.c
+++ b/src/stdio/__fmodeflags.c
@@ -14,3 +14,11 @@ int __fmodeflags(const char *mode)
if (*mode == 'a') flags |= O_APPEND;
return flags;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif