From: Corinna Vinschen Date: Tue, 28 Jan 2020 14:33:53 +0000 (+0100) Subject: Cygwin: drop __stdcall from close_all_files X-Git-Tag: cygwin-3_1_3-release~35 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=cf6c439b6dcfebe44878ec4a8cae6293ff6563f7;p=newlib-cygwin.git Cygwin: drop __stdcall from close_all_files Signed-off-by: Corinna Vinschen --- 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*);