From 06aa9a096c87a247375e7b9dd1092b52eaa5d477 Mon Sep 17 00:00:00 2001 From: bumbread Date: Mon, 27 Jun 2022 23:36:51 +1100 Subject: [PATCH] Remove unused function --- src/win/win_stdio.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/win/win_stdio.c b/src/win/win_stdio.c index a404118..da5c164 100644 --- a/src/win/win_stdio.c +++ b/src/win/win_stdio.c @@ -210,14 +210,6 @@ static int try_fputc(FILE *stream, char 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) { mtx_lock(&stream->lock); int res = try_fputc(stream, c);