summaryrefslogtreecommitdiff
path: root/userland/libc/stdio/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/stdio/getchar.c')
-rw-r--r--userland/libc/stdio/getchar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/userland/libc/stdio/getchar.c b/userland/libc/stdio/getchar.c
index dad2263..e7991cd 100644
--- a/userland/libc/stdio/getchar.c
+++ b/userland/libc/stdio/getchar.c
@@ -1,4 +1,6 @@
#include <stdio.h>
// The getchar() function shall be equivalent to getc(stdin).
-int getchar(void) { return fgetc(stdin); }
+int getchar(void) {
+ return fgetc(stdin);
+}