summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/putc.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/putc.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/putc.c')
-rw-r--r--lib/libc/stdio/putc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/stdio/putc.c b/lib/libc/stdio/putc.c
index 966bf95..d0882f0 100644
--- a/lib/libc/stdio/putc.c
+++ b/lib/libc/stdio/putc.c
@@ -42,6 +42,9 @@ __FBSDID("$FreeBSD$");
#include "local.h"
#include "libc_private.h"
+#undef putc
+#undef putc_unlocked
+
int
putc(c, fp)
int c;
OpenPOWER on IntegriCloud