summaryrefslogtreecommitdiff
path: root/libio/stdio/getc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdio/getc.c')
-rw-r--r--libio/stdio/getc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libio/stdio/getc.c b/libio/stdio/getc.c
new file mode 100644
index 00000000000..9db0987f71c
--- /dev/null
+++ b/libio/stdio/getc.c
@@ -0,0 +1,11 @@
+#include "libioP.h"
+#include "stdio.h"
+
+#undef getc
+
+int
+getc(stream)
+ FILE *stream;
+{
+ return _IO_getc (stream);
+}