diff options
Diffstat (limited to 'src/stdio/__towrite.c')
-rw-r--r-- | src/stdio/__towrite.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stdio/__towrite.c b/src/stdio/__towrite.c index b4587419..4bf96f4d 100644 --- a/src/stdio/__towrite.c +++ b/src/stdio/__towrite.c @@ -18,4 +18,7 @@ int __towrite(FILE *f) } /* Link flush-on-exit code iff any stdio write functions are linked. */ -int (*const __fflush_on_exit)(FILE *) = fflush; +void __fflush_on_exit() +{ + fflush(0); +} |