Cygwin: drop __stdcall from close_all_files

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2020-01-28 15:33:53 +01:00 committed by Ken Brown
parent b2cb7c090e
commit e20c0f2ca7
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ static int __stdcall mknod_worker (const char *, mode_t, mode_t, _major_t,
but never call close. This function is called by _exit to
ensure we don't leave any such files lying around. */
void __stdcall
void
close_all_files (bool norelease)
{
cygheap->fdtab.lock ();

View File

@ -179,7 +179,7 @@ extern struct per_process_cxx_malloc default_cygwin_cxx_malloc;
void events_init ();
int chmod_device (class path_conv& pc, mode_t mode);
void __stdcall close_all_files (bool = false);
void close_all_files (bool = false);
/* debug_on_trap support. see exceptions.cc:try_to_debug() */
extern "C" void error_start_init (const char*);