aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/open_memstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/open_memstream.c')
-rw-r--r--src/stdio/open_memstream.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/open_memstream.c b/src/stdio/open_memstream.c
index 600d2770..f27306de 100644
--- a/src/stdio/open_memstream.c
+++ b/src/stdio/open_memstream.c
@@ -97,3 +97,11 @@ FILE *open_memstream(char **bufp, size_t *sizep)
return __ofl_add(&f->f);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif