summaryrefslogtreecommitdiff
path: root/stdio/getc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-02-18 01:27:10 +0000
committerRoland McGrath <roland@gnu.org>1995-02-18 01:27:10 +0000
commit28f540f45bbacd939bfd07f213bcad2bf730b1bf (patch)
tree15f07c4c43d635959c6afee96bde71fb1b3614ee /stdio/getc.c
initial import
Diffstat (limited to 'stdio/getc.c')
-rw-r--r--stdio/getc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio/getc.c b/stdio/getc.c
new file mode 100644
index 0000000000..00aee33d31
--- /dev/null
+++ b/stdio/getc.c
@@ -0,0 +1,5 @@
+#include <ansidecl.h>
+#include <stdio.h>
+#undef getc
+#define fgetc getc
+#include <fgetc.c>