summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getchar.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-05-05 16:03:52 +0000
committerjhb <jhb@FreeBSD.org>2008-05-05 16:03:52 +0000
commitd878a4042ee00c110e698fce1c1d59253fc0387b (patch)
treea73bfd427911aab01a6af417c89c61e722b6ea11 /lib/libc/stdio/getchar.c
parentfee9ed5a9384640311f25ec9413a2367fa106e1b (diff)
downloadFreeBSD-src-d878a4042ee00c110e698fce1c1d59253fc0387b.zip
FreeBSD-src-d878a4042ee00c110e698fce1c1d59253fc0387b.tar.gz
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 *.
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 2ac13f5..90c84ab 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()
{
OpenPOWER on IntegriCloud