diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-19 00:05:35 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-19 00:05:35 -0400 |
commit | 2499cd9d9be0ba74e16a6c3dd304e6d69070be35 (patch) | |
tree | b369187c752376bfc4038e7f3116417a9173350f /src/stdio/fflush.c | |
parent | 26710be7148d51a954c4fe4acedab90d161e609a (diff) | |
download | musl-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/fflush.c')
-rw-r--r-- | src/stdio/fflush.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c index 4c1647b7..715c1d10 100644 --- a/src/stdio/fflush.c +++ b/src/stdio/fflush.c @@ -15,9 +15,6 @@ static int __fflush_unlocked(FILE *f) f->wpos = f->wbase = f->wend = 0; f->rpos = f->rend = 0; - /* Hook for special behavior on flush */ - if (f->flush) f->flush(f); - return 0; } |