projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prevent CNAME/PTR parsing from reading data past the response end
[musl]
/
src
/
stdio
/
fputc.c
diff --git
a/src/stdio/fputc.c
b/src/stdio/fputc.c
index
98d0a20
..
f364ed3
100644
(file)
--- a/
src/stdio/fputc.c
+++ b/
src/stdio/fputc.c
@@
-1,11
+1,7
@@
-#include "stdio_impl.h"
+#include <stdio.h>
+#include "putc.h"
int fputc(int c, FILE *f)
{
- FLOCK(f);
- c = putc_unlocked(c, f);
- FUNLOCK(f);
- return c;
+ return do_putc(c, f);
}
-
-weak_alias(fputc, putc);