summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/getchar.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-05-05 16:03:52 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-05-05 16:03:52 +0000
commit19e03ca8038019fe0fe7f511b91b758b95b78664 (patch)
treea73bfd427911aab01a6af417c89c61e722b6ea11 /lib/libc/stdio/getchar.c
parent97752dfdc7640e2f0cde3665826675accade4221 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/getchar.c')
-rw-r--r--lib/libc/stdio/getchar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/stdio/getchar.c b/lib/libc/stdio/getchar.c
index 2ac13f5eacfd4..90c84ab9fe440 100644
--- a/lib/libc/stdio/getchar.c
+++ b/lib/libc/stdio/getchar.c
@@ -45,6 +45,9 @@ __FBSDID("$FreeBSD$");
#include "local.h"
#include "libc_private.h"
+#undef getchar
+#undef getchar_unlocked
+
int
getchar()
{