projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
work around constant folding bug 61144 in gcc 4.9.0 and 4.9.1
[oweals/musl.git]
/
src
/
stdio
/
clearerr.c
1
#include "stdio_impl.h"
2
3
void clearerr(FILE *f)
4
{
5
FLOCK(f);
6
f->flags &= ~(F_EOF|F_ERR);
7
FUNLOCK(f);
8
}
9
10
weak_alias(clearerr, clearerr_unlocked);