about summary refs log tree commit diff
path: root/src/stdio/freopen.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-06-19 00:05:35 -0400
committerRich Felker <dalias@aerifal.cx>2012-06-19 00:05:35 -0400
commit2499cd9d9be0ba74e16a6c3dd304e6d69070be35 (patch)
treeb369187c752376bfc4038e7f3116417a9173350f /src/stdio/freopen.c
parent26710be7148d51a954c4fe4acedab90d161e609a (diff)
downloadmusl-2499cd9d9be0ba74e16a6c3dd304e6d69070be35.tar.gz
musl-2499cd9d9be0ba74e16a6c3dd304e6d69070be35.tar.xz
musl-2499cd9d9be0ba74e16a6c3dd304e6d69070be35.zip
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.
Diffstat (limited to 'src/stdio/freopen.c')
-rw-r--r--src/stdio/freopen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stdio/freopen.c b/src/stdio/freopen.c
index 958dbd20..b1f8fe71 100644
--- a/src/stdio/freopen.c
+++ b/src/stdio/freopen.c
@@ -32,7 +32,6 @@ FILE *freopen(const char *filename, const char *mode, FILE *f)
 	f->write = f2->write;
 	f->seek = f2->seek;
 	f->close = f2->close;
-	f->flush = f2->flush;
 
 	fclose(f2);
 	return f;