summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/stdio/getc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/stdio/getc.c')
-rw-r--r--libc-top-half/musl/src/stdio/getc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/stdio/getc.c b/libc-top-half/musl/src/stdio/getc.c
new file mode 100644
index 0000000..8409fc2
--- /dev/null
+++ b/libc-top-half/musl/src/stdio/getc.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include "getc.h"
+
+int getc(FILE *f)
+{
+ return do_getc(f);
+}
+
+weak_alias(getc, _IO_getc);