diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 4956b6ff5..a6386dd9c 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -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 (); diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 887d54fa6..2916728b6 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -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*);