newlib: close streams on exit

git-svn-id: svn://kolibrios.org@6664 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2016-11-03 19:02:07 +00:00
parent 1a0ba3eb53
commit a3c61f5039
4 changed files with 5 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ struct app_hdr
int __subsystem__;
};
extern void init_reent();
extern void init_global_reent();
extern void init_stdio();
extern void __init_conio();
extern void __fini_conio();
@@ -173,7 +173,7 @@ __libc_init (void)
int argc;
tls_init();
init_reent();
init_global_reent();
init_stdio();
if(header->__subsystem__ == 3)