From e7e4715db22de68a703922a64c1a91d0f5e6c523 Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Tue, 25 May 2004 10:42:52 +0000 Subject: Provide trivial macro implementations of getwc(), getwchar(), putwc() and putwchar() to reduce function call overhead. --- lib/libc/stdio/putwc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/stdio/putwc.c') diff --git a/lib/libc/stdio/putwc.c b/lib/libc/stdio/putwc.c index e26102a663f2..8fe065bdfe32 100644 --- a/lib/libc/stdio/putwc.c +++ b/lib/libc/stdio/putwc.c @@ -34,6 +34,8 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" #include "local.h" +#undef putwc + /* * Synonym for fputwc(). The only difference is that putwc(), if it is a * macro, may evaluate `fp' more than once. -- cgit v1.2.3