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/ferror.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc/stdio/ferror.c') diff --git a/lib/libc/stdio/ferror.c b/lib/libc/stdio/ferror.c index add5bee..d155ff0 100644 --- a/lib/libc/stdio/ferror.c +++ b/lib/libc/stdio/ferror.c @@ -39,9 +39,11 @@ __FBSDID("$FreeBSD$"); #include "namespace.h" #include #include "un-namespace.h" -#include "local.h" #include "libc_private.h" +#undef ferror +#undef ferror_unlocked + int ferror(FILE *fp) { -- cgit v1.1