aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/getchar_unlocked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/getchar_unlocked.c')
-rw-r--r--src/stdio/getchar_unlocked.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/getchar_unlocked.c b/src/stdio/getchar_unlocked.c
index 355ac318..549c01e3 100644
--- a/src/stdio/getchar_unlocked.c
+++ b/src/stdio/getchar_unlocked.c
@@ -4,3 +4,11 @@ int getchar_unlocked(void)
{
return getc_unlocked(stdin);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif