projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl]
/
src
/
stdio
/
fputc.c
diff --git
a/src/stdio/fputc.c
b/src/stdio/fputc.c
index
92762c9
..
f364ed3
100644
(file)
--- a/
src/stdio/fputc.c
+++ b/
src/stdio/fputc.c
@@
-1,10
+1,7
@@
-#include "stdio_impl.h"
+#include <stdio.h>
+#include "putc.h"
int fputc(int c, FILE *f)
{
- if (f->lock < 0 || !__lockfile(f))
- return putc_unlocked(c, f);
- c = putc_unlocked(c, f);
- __unlockfile(f);
- return c;
+ return do_putc(c, f);
}