mirror of
git://git.musl-libc.org/musl
synced 2025-03-05 11:17:27 +00:00
fix missing function declarations for __stdio_exit
This commit is contained in:
parent
007c03f84f
commit
8e26a591d0
@ -16,6 +16,8 @@ int __toread(FILE *f)
|
||||
static const int dummy = 0;
|
||||
weak_alias(dummy, __towrite_used);
|
||||
|
||||
void __stdio_exit(void);
|
||||
|
||||
void __seek_on_exit()
|
||||
{
|
||||
if (!__towrite_used) __stdio_exit();
|
||||
|
@ -19,6 +19,8 @@ int __towrite(FILE *f)
|
||||
|
||||
const int __towrite_used = 1;
|
||||
|
||||
void __stdio_exit(void);
|
||||
|
||||
void __flush_on_exit()
|
||||
{
|
||||
__stdio_exit();
|
||||
|
Loading…
Reference in New Issue
Block a user