From e20c0f2ca7d80e5f6a0b36d018ef25e6f908b76f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 28 Jan 2020 15:33:53 +0100 Subject: [PATCH] Cygwin: drop __stdcall from close_all_files Signed-off-by: Corinna Vinschen --- winsup/cygwin/syscalls.cc | 2 +- winsup/cygwin/winsup.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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*);