aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/setbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/setbuffer.c')
-rw-r--r--src/stdio/setbuffer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/setbuffer.c b/src/stdio/setbuffer.c
index 71233d2e..51bd1bb9 100644
--- a/src/stdio/setbuffer.c
+++ b/src/stdio/setbuffer.c
@@ -5,3 +5,11 @@ void setbuffer(FILE *f, char *buf, size_t size)
{
setvbuf(f, buf, buf ? _IOFBF : _IONBF, size);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif