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