summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/getchar.c')
-rw-r--r--lib/libc/stdio/getchar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/getchar.c b/lib/libc/stdio/getchar.c
index 030d5bf1faf..029f19f94fd 100644
--- a/lib/libc/stdio/getchar.c
+++ b/lib/libc/stdio/getchar.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getchar.c,v 1.2 1996/08/19 08:32:52 tholo Exp $";
+static char rcsid[] = "$OpenBSD: getchar.c,v 1.3 2001/07/09 06:57:44 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -45,6 +45,7 @@ static char rcsid[] = "$OpenBSD: getchar.c,v 1.2 1996/08/19 08:32:52 tholo Exp $
#undef getchar
+int
getchar()
{
return (getc(stdin));