From d878a4042ee00c110e698fce1c1d59253fc0387b Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 5 May 2008 16:03:52 +0000 Subject: 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 *. --- lib/libc/stdio/clrerr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdio/clrerr.c') diff --git a/lib/libc/stdio/clrerr.c b/lib/libc/stdio/clrerr.c index bae0b72..1b318e6 100644 --- a/lib/libc/stdio/clrerr.c +++ b/lib/libc/stdio/clrerr.c @@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include #include "un-namespace.h" -#include "local.h" #include "libc_private.h" -#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF))) +#undef clearerr +#undef clearerr_unlocked void clearerr(fp) -- cgit v1.1