diff options
author | jhb <jhb@FreeBSD.org> | 2008-05-05 16:03:52 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-05-05 16:03:52 +0000 |
commit | d878a4042ee00c110e698fce1c1d59253fc0387b (patch) | |
tree | a73bfd427911aab01a6af417c89c61e722b6ea11 /lib/libc/stdio/clrerr.c | |
parent | fee9ed5a9384640311f25ec9413a2367fa106e1b (diff) | |
download | FreeBSD-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/clrerr.c')
-rw-r--r-- | lib/libc/stdio/clrerr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdio.h> #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) |