summaryrefslogtreecommitdiff
path: root/src/stdio/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/getchar.c')
-rw-r--r--src/stdio/getchar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdio/getchar.c b/src/stdio/getchar.c
index c1012658..df395ca9 100644
--- a/src/stdio/getchar.c
+++ b/src/stdio/getchar.c
@@ -1,6 +1,7 @@
#include <stdio.h>
+#include "getc.h"
int getchar(void)
{
- return fgetc(stdin);
+ return do_getc(stdin);
}