From 2499cd9d9be0ba74e16a6c3dd304e6d69070be35 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 19 Jun 2012 00:05:35 -0400 Subject: remove flush hook cruft that was never used from stdio there is no need/use for a flush hook. the write function serves this purpose already. i originally created the hook for implementing mem streams based on a mistaken reading of posix, and later realized it wasn't useful but never removed it until now. --- src/internal/stdio_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal') diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h index a1f31b3c..d54c918b 100644 --- a/src/internal/stdio_impl.h +++ b/src/internal/stdio_impl.h @@ -57,7 +57,7 @@ struct __FILE_s { int waiters; void *cookie; off_t off; - int (*flush)(FILE *); + void *dummy4; void *mustbezero_2; unsigned char *shend; off_t shlim, shcnt; -- cgit v1.2.1