diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 15:33:53 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 15:33:53 +0100 |
commit | cf6c439b6dcfebe44878ec4a8cae6293ff6563f7 (patch) | |
tree | b8dca7e5e88dafd7535df80d92662b93bf455310 | |
parent | 464db253c46c49802a73d2d15113b88dd282a370 (diff) | |
download | cygnal-cf6c439b6dcfebe44878ec4a8cae6293ff6563f7.tar.gz cygnal-cf6c439b6dcfebe44878ec4a8cae6293ff6563f7.tar.bz2 cygnal-cf6c439b6dcfebe44878ec4a8cae6293ff6563f7.zip |
Cygwin: drop __stdcall from close_all_files
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 | ||||
-rw-r--r-- | 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*); |