aboutsummaryrefslogtreecommitdiff
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)
downloadsrc-19e03ca8038019fe0fe7f511b91b758b95b78664.tar.gz
src-19e03ca8038019fe0fe7f511b91b758b95b78664.zip
Expose FILE's internals to the world again in all their glory. Restore
all the previous inline optimizations as well. FILE is back to using __mbstate_t, struct pthread *, and struct pthread_mutex *.
Notes
Notes: svn path=/head/; revision=178778
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 2ac13f5eacfd..90c84ab9fe44 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()
{