Remove unused function

This commit is contained in:
bumbread 2022-06-27 23:36:51 +11:00
parent 81feacd996
commit 06aa9a096c
1 changed files with 0 additions and 8 deletions

View File

@ -210,14 +210,6 @@ static int try_fputc(FILE *stream, char c) {
return c; return c;
} }
static int try_fputs(FILE *stream, char *str, size_t len) {
for(size_t i = 0; i != len; ++i) {
int cw = try_fputc(stream, str[i]);
if(cw == EOF) return EOF;
}
return 1;
}
int fputc(int c, FILE *stream) { int fputc(int c, FILE *stream) {
mtx_lock(&stream->lock); mtx_lock(&stream->lock);
int res = try_fputc(stream, c); int res = try_fputc(stream, c);